From 5f8ca7ee24e82fa86171062724ed84e8b6e79ae2 Mon Sep 17 00:00:00 2001 From: "Bryan C. Mills" Date: Thu, 21 Feb 2019 15:39:34 -0500 Subject: [PATCH] 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 TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- misc/go.mod | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 misc/go.mod 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 -- 2.50.0