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

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