go/internal/imports
Jay Conrod 50ca8d007d all: recognize new error from go command when no go.mod is found
This change fixes x/tools tests before CL 298650 lands. After that CL,
the go command reports a different error message when GO111MODULE=on
and it is invoked without a go.mod file (with a command that requires
a go.mod file). We plan to backport that change to 1.16.

For golang/go#44745

Change-Id: Idb3e146828703c89f788ae660ffc95aef16433e4
Reviewed-on: https://go-review.googlesource.com/c/tools/+/298792
Trust: Jay Conrod <jayconrod@google.com>
Reviewed-by: Peter Weinberger <pjw@google.com>
2021-03-04 22:10:16 +00:00
..
testdata/mod imports: rename to internal/imports 2019-05-20 21:49:35 +00:00
fix.go all: use explicit -mod, -modfile fields for gocommand.Invocation 2020-10-19 17:57:15 +00:00
fix_test.go internal/imports: bump relevance for modules with higher major versions 2020-10-13 19:42:24 +00:00
imports.go internal/imports: require valid options, move LocalPrefix up 2020-07-07 20:02:13 +00:00
imports_test.go all: add copyright notices to files that are missing them 2021-01-06 17:23:47 +00:00
mkindex.go all: go fmt ./... 2021-02-20 03:28:52 +00:00
mkstdlib.go all: go fmt ./... 2021-02-20 03:28:52 +00:00
mod.go all: recognize new error from go command when no go.mod is found 2021-03-04 22:10:16 +00:00
mod_cache.go all: add copyright notices to files that are missing them 2021-01-06 17:23:47 +00:00
mod_cache_test.go all: add copyright notices to files that are missing them 2021-01-06 17:23:47 +00:00
mod_test.go all: add copyright notices to files that are missing them 2021-01-06 17:23:47 +00:00
sortimports.go internal/imports: require valid options, move LocalPrefix up 2020-07-07 20:02:13 +00:00
zstdlib.go internal/imports: update stdlib index for 1.16 2021-02-19 17:48:41 +00:00