OSDN Git Service

Hulk did something
[bytom/vapor.git] / vendor / github.com / miekg / dns / version.go
1 package dns
2
3 import "fmt"
4
5 // Version is current version of this library.
6 var Version = V{1, 1, 4}
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 }