mirror of https://github.com/golang/go.git
goimports has a fast path for stdlib imports that was not checking for import cycles. Add the check. Fixes golang/go#37063. Change-Id: I46c98c317d8f06f83018fef9ef7edf9222e6b3f3 Reviewed-on: https://go-review.googlesource.com/c/tools/+/217958 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
|---|---|---|
| .. | ||
| testdata/mod | ||
| fix.go | ||
| fix_test.go | ||
| imports.go | ||
| imports_test.go | ||
| mkindex.go | ||
| mkstdlib.go | ||
| mod.go | ||
| mod_112_test.go | ||
| mod_114_test.go | ||
| mod_cache.go | ||
| mod_cache_test.go | ||
| mod_pre114_test.go | ||
| mod_test.go | ||
| proxy_112_test.go | ||
| proxy_113_test.go | ||
| sortimports.go | ||
| zstdlib.go | ||