go/packages/testdata: add go directives to fake module files

Stop fighting the behavior of the go tool when run in these directories.

Updates golang/go#30790

Change-Id: I32dfeb0bafa3ed3664500f1768b2293e5257d09b
Reviewed-on: https://go-review.googlesource.com/c/tools/+/168757
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
Michael Matloob 2019-03-21 16:00:43 -04:00
parent 8f249a1648
commit 3a76a6439c
5 changed files with 10 additions and 0 deletions

View File

@ -1 +1,3 @@
module github.com/heschik/tools-testrepo/v2 module github.com/heschik/tools-testrepo/v2
go 1.12

View File

@ -1 +1,3 @@
module github.com/heschik/tools-testrepo module github.com/heschik/tools-testrepo
go 1.12

View File

@ -1 +1,3 @@
module github.com/heschik/tools-testrepo/v2 module github.com/heschik/tools-testrepo/v2
go 1.12

View File

@ -1 +1,3 @@
module github.com/heschik/tools-testrepo/v2 module github.com/heschik/tools-testrepo/v2
go 1.12

View File

@ -1 +1,3 @@
module github.com/heschik/tools-testrepo module github.com/heschik/tools-testrepo
go 1.12