aboutsummaryrefslogtreecommitdiff
path: root/misc/go.mod
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2019-02-21 15:39:34 -0500
committerBryan C. Mills <bcmills@google.com>2019-02-27 17:47:31 +0000
commit5f8ca7ee24e82fa86171062724ed84e8b6e79ae2 (patch)
tree81b26b64da407ec9bd685ab2a6177407f24d1e8b /misc/go.mod
parentfa8a3f3080bdc59d18f3c093e8239bf34e976906 (diff)
downloadgo-5f8ca7ee24e82fa86171062724ed84e8b6e79ae2.tar.gz
go-5f8ca7ee24e82fa86171062724ed84e8b6e79ae2.zip
misc: add go.mod file
Updates #30228 Updates #30241 Change-Id: I7ee839f4d2840873f7e37b3aff93fe534c6b52e6 Reviewed-on: https://go-review.googlesource.com/c/163207 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'misc/go.mod')
-rw-r--r--misc/go.mod11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/go.mod b/misc/go.mod
new file mode 100644
index 0000000000..fc9f1133a4
--- /dev/null
+++ b/misc/go.mod
@@ -0,0 +1,11 @@
+// Module misc contains tests and binaries that pertain to specific build modes
+// (cgo) and platforms (Android and iOS).
+//
+// The 'run' scripts in ../src execute these tests and binaries, which need to
+// be in a module in order to build and run successfully in module mode.
+// (Otherwise, they lack well-defined import paths, and module mode — unlike
+// GOPATH mode — does not synthesize import paths from the absolute working
+// directory.)
+module misc
+
+go 1.12