aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/miekg/dns/version.go
diff options
context:
space:
mode:
authorTyler Davis <tydavis@gmail.com>2018-02-28 23:00:21 +0000
committerTyler Davis <tydavis@gmail.com>2018-02-28 23:00:21 +0000
commit0e8a5cebd8548bfe95c5c7808da7da0f651f0c3a (patch)
tree469486208835d832e16940bac58a06f32bd723d8 /vendor/github.com/miekg/dns/version.go
parent93b7b9300254e80dc7b17556b5d6a8b7d7e9607a (diff)
downloaddnstracker-0e8a5cebd8548bfe95c5c7808da7da0f651f0c3a.tar.gz
dnstracker-0e8a5cebd8548bfe95c5c7808da7da0f651f0c3a.zip
Add dependencies
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 0000000..e41d2b3
--- /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, 0, 4}
+
+// 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)
+}