summaryrefslogtreecommitdiff
path: root/vendor/github.com/miekg/dns/tools.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/miekg/dns/tools.go')
-rw-r--r--vendor/github.com/miekg/dns/tools.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/github.com/miekg/dns/tools.go b/vendor/github.com/miekg/dns/tools.go
new file mode 100644
index 000000000..d11182536
--- /dev/null
+++ b/vendor/github.com/miekg/dns/tools.go
@@ -0,0 +1,9 @@
+// +build tools
+
+// We include our tool dependencies for `go generate` here to ensure they're
+// properly tracked by the go tool. See the Go Wiki for the rationale behind this:
+// https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module.
+
+package dns
+
+import _ "golang.org/x/tools/go/packages"