all: add a go.mod file
This change adds a go.mod and go.sum file to the tools repo, following the
requirements stated in bcmills's comment here:
https://golang.org/issue/28136#issuecomment-462971974. It's
important to note that we will not be
adding versions to the repo for now.
The change was generated by running "go mod init" and "go mod tidy" using Go
1.11.5 in the top-level directory of the tools repository.
The tools repo has some extraneous dependencies, but they will be removed soon
(we expect a couple of weeks). At that point, our go.sum should shrink to a
small handful of entries.
Updates golang/go#28136
Change-Id: Ie7802d8d70094a855b112ad0507a47036cb81ba0
Reviewed-on: https://go-review.googlesource.com/c/162397
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
diff --git a/go.mod b/go.mod
new file mode 100644
index 0000000..81d3648
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,9 @@
+module golang.org/x/tools
+
+require (
+ cloud.google.com/go v0.36.0
+ github.com/gomodule/redigo v2.0.0+incompatible
+ golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67
+ golang.org/x/net v0.0.0-20190213061140-3a22650c66bd
+ google.golang.org/appengine v1.4.0
+)