summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/miekg/dns/version.go
blob: 5a358acc9463192c5b395e6f5d1678918f7ca7d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package dns

import "fmt"

// Version is current version of this library.
var Version = v{1, 1, 41}

// v holds the version of this library.
type v struct {
	Major, Minor, Patch int
}

func (v v) String() string {
	return fmt.Sprintf("%d.%d.%d", v.Major, v.Minor, v.Patch)
}