mirror of
https://github.com/golang/go
synced 2024-11-18 18:44:42 -07:00
354bea8ca8
We used to read the go.mod file information out of the imports.Resolver. Now that gopls tracks go.mod itself, we can use that instead. This is a slight regression, in that go.mods in replace targets will no longer be watched, but I don't think that's too important. This allows us to stop reading the ModuleResolver's internals, which were not sufficiently locked. Updates golang/go#36605. Change-Id: I42939e0248cba1f6b3850a003de67fcc11ab10b1 Reviewed-on: https://go-review.googlesource.com/c/tools/+/215319 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
testdata/mod | ||
fix_test.go | ||
fix.go | ||
imports_test.go | ||
imports.go | ||
mkindex.go | ||
mkstdlib.go | ||
mod_112_test.go | ||
mod_114_test.go | ||
mod_cache_test.go | ||
mod_cache.go | ||
mod_pre114_test.go | ||
mod_test.go | ||
mod.go | ||
proxy_112_test.go | ||
proxy_113_test.go | ||
sortimports.go | ||
zstdlib.go |