2020-10-08 15:14:07 -05:00
|
|
|
package dns
|
|
|
|
|
|
|
|
import "fmt"
|
|
|
|
|
|
|
|
// Version is current version of this library.
|
2021-09-16 07:18:18 -05:00
|
|
|
var Version = v{1, 1, 43}
|
2020-10-08 15:14:07 -05:00
|
|
|
|
2021-09-16 07:18:18 -05:00
|
|
|
// v holds the version of this library.
|
|
|
|
type v struct {
|
2020-10-08 15:14:07 -05:00
|
|
|
Major, Minor, Patch int
|
|
|
|
}
|
|
|
|
|
2021-09-16 07:18:18 -05:00
|
|
|
func (v v) String() string {
|
2020-10-08 15:14:07 -05:00
|
|
|
return fmt.Sprintf("%d.%d.%d", v.Major, v.Minor, v.Patch)
|
|
|
|
}
|