2022-06-11 11:09:31 +02:00
|
|
|
package dns
|
|
|
|
|
|
|
|
import "fmt"
|
|
|
|
|
|
|
|
// Version is current version of this library.
|
2023-09-18 14:45:20 +02:00
|
|
|
var Version = v{1, 1, 56}
|
2022-06-11 11:09:31 +02: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)
|
|
|
|
}
|