...

Source file src/github.com/miekg/dns/version.go

Documentation: github.com/miekg/dns

     1  package dns
     2  
     3  import "fmt"
     4  
     5  // Version is current version of this library.
     6  var Version = v{1, 1, 57}
     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  }
    16  

View as plain text