x/tools/gopls: when using go.work in GOROOT, "gopls requires a module at the root of your workspace" #48022
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
release-blocker
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
ATTENTION: Please answer these questions BEFORE submitting your issue. Thanks!
What did you do?
What did you expect to see?
No errors, everything working normally.
What did you see instead?
On the VSCode status bar, I see a spinning arrow animation with the error:
I also see a red squiggly line with this error under the
go
directive ingo.work
. It also shows up on thepackage
declaration in each .go file I open.Build info
The text was updated successfully, but these errors were encountered: