2019-04-17 17:15:55 +00:00
|
|
|
package dns
|
|
|
|
|
|
|
|
import "fmt"
|
|
|
|
|
|
|
|
// Version is current version of this library.
|
2023-01-11 00:12:59 +00:00
|
|
|
var Version = v{1, 1, 50}
|
2019-04-17 17:15:55 +00:00
|
|
|
|
2020-09-09 18:09:42 +00:00
|
|
|
// v holds the version of this library.
|
|
|
|
type v struct {
|
2019-04-17 17:15:55 +00:00
|
|
|
Major, Minor, Patch int
|
|
|
|
}
|
|
|
|
|
2020-09-09 18:09:42 +00:00
|
|
|
func (v v) String() string {
|
2019-04-17 17:15:55 +00:00
|
|
|
return fmt.Sprintf("%d.%d.%d", v.Major, v.Minor, v.Patch)
|
|
|
|
}
|