x/tools/gopls: centralize all "go env X" calls #36487
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
NeedsFix
The path to resolution is known, but the work has not been done.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
We've started relying on a number of calls to
go env
to build up various pieces of the view. At minimum right now, we callgo env GOPATH
for thegoimports
process env function,go env GOMOD
for the -modfile handling, and nowgo env GOCACHE
to detect test mains. All of these should be consolidated into a singlego env
call that happens on view creation.The text was updated successfully, but these errors were encountered: