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

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