You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

version.go 275B

123456789101112131415
  1. package dns
  2. import "fmt"
  3. // Version is current version of this library.
  4. var Version = v{1, 1, 43}
  5. // v holds the version of this library.
  6. type v struct {
  7. Major, Minor, Patch int
  8. }
  9. func (v v) String() string {
  10. return fmt.Sprintf("%d.%d.%d", v.Major, v.Minor, v.Patch)
  11. }