x/tools/gopls: update to use the GOWORK environment variable rather than -workfile #51215
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
In #51171, the go command is going to be updated to use the GOWORK environment variable to detect the active
go.work
file, rather than-workfile
.Once this is done we will need to update gopls accordingly. Ideally, we could also detect if the
go
command supports-workfile
(e.g. by tryinggo list -workfile -notaflag
and parsing the output).Marking as a release blocker as I'd like to avoid breaking gopls users with the RC. This should be a straightforward change in gopls, that I will make as soon as the go command change lands.
The text was updated successfully, but these errors were encountered: