2018-01-11 22:38:50 +01:00
|
|
|
package dns
|
|
|
|
|
|
|
|
import "fmt"
|
|
|
|
|
|
|
|
// Version is current version of this library.
|
2019-10-12 21:22:15 +02:00
|
|
|
var Version = V{1, 1, 22}
|
2018-01-11 22:38:50 +01:00
|
|
|
|
|
|
|
// V holds the version of this library.
|
|
|
|
type V struct {
|
|
|
|
Major, Minor, Patch int
|
|
|
|
}
|
|
|
|
|
|
|
|
func (v V) String() string {
|
|
|
|
return fmt.Sprintf("%d.%d.%d", v.Major, v.Minor, v.Patch)
|
|
|
|
}
|