summaryrefslogtreecommitdiff
path: root/vendor/github.com/miekg/dns/version.go
blob: 4d402489f64f9b966e173a6475f3bc30280d5448 (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, 67}

// 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)
}