tools/go/packages/testdata
Michael Matloob 3a76a6439c 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>
2019-03-22 20:32:07 +00:00
..
TestName_Modules go/packages/testdata: add go directives to fake module files 2019-03-22 20:32:07 +00:00
TestName_ModulesDedup/pkg/mod go/packages/testdata: add go directives to fake module files 2019-03-22 20:32:07 +00:00
README go/packages: add name= query 2018-10-16 20:20:09 +00:00

README

Test data directories here were created by running go commands with GOPATH set as such:
GOPATH=......./testdata/TestNamed_ModulesDedup go get github.com/heschik/tools-testrepo/v2@v2.0.1
and then removing the vcs cache directories, which appear to be unnecessary.