mirror of
https://github.com/golang/go
synced 2024-11-18 18:04:46 -07:00
7f5965fd77
Go 1.13 introduced a module in GOROOT/src. That triggered goimports to think that it was an invalid module, usable only as a replace target, because its declared module path "std" didn't match its apparent path "src". The stdlib is always in scope, so skip the needs-replace check for GOROOT. Fixes golang/go#34199 Change-Id: I1199378b940cfedc04e9a4e943c46b9ffdf18446 Reviewed-on: https://go-review.googlesource.com/c/tools/+/194570 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com> |
||
---|---|---|
.. | ||
testdata/mod | ||
fix_test.go | ||
fix.go | ||
imports_test.go | ||
imports.go | ||
mkindex.go | ||
mkstdlib.go | ||
mod_112_test.go | ||
mod_cache_test.go | ||
mod_cache.go | ||
mod_test.go | ||
mod.go | ||
proxy_112_test.go | ||
proxy_113_test.go | ||
sortimports.go | ||
zstdlib.go |