summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/miekg/dns/version.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/miekg/dns/version.go')
-rw-r--r--vendor/github.com/miekg/dns/version.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/github.com/miekg/dns/version.go b/vendor/github.com/miekg/dns/version.go
new file mode 100644
index 0000000000..7dd9bbc09e
--- /dev/null
+++ b/vendor/github.com/miekg/dns/version.go
@@ -0,0 +1,15 @@
+package dns
+
+import "fmt"
+
+// Version is current version of this library.
+var Version = v{1, 1, 30}
+
+// 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)
+}