gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

version.go (275B)


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