2021-09-28 18:13:37 +02:00
|
|
|
package dns
|
|
|
|
|
|
|
|
import "fmt"
|
|
|
|
|
|
|
|
// Version is current version of this library.
|
2022-09-22 21:02:34 +02:00
|
|
|
var Version = v{1, 1, 50}
|
2021-09-28 18:13:37 +02:00
|
|
|
|
2021-11-16 19:19:12 +01:00
|
|
|
// v holds the version of this library.
|
|
|
|
type v struct {
|
2021-09-28 18:13:37 +02:00
|
|
|
Major, Minor, Patch int
|
|
|
|
}
|
|
|
|
|
2021-11-16 19:19:12 +01:00
|
|
|
func (v v) String() string {
|
2021-09-28 18:13:37 +02:00
|
|
|
return fmt.Sprintf("%d.%d.%d", v.Major, v.Minor, v.Patch)
|
|
|
|
}
|