2019-04-17 17:15:55 +00:00
|
|
|
package dns
|
|
|
|
|
|
|
|
import "fmt"
|
|
|
|
|
|
|
|
// Version is current version of this library.
|
2024-10-17 20:09:39 +00:00
|
|
|
var Version = v{1, 1, 58}
|
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)
|
|
|
|
}
|