x/tools/gopls: go.mod errors only in experimental workspace module mode #44932
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
What version of Go, VS Code & VS Code Go extension are you using?
go version
to get version of Go from the VS Code integrated terminal.gopls -v version
to get version of Gopls from the VS Code integrated terminal.code -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders.Go: Locate Configured Go Tools
command.Share the Go related settings you have added/edited
Run
Preferences: Open Settings (JSON)
command to open your settings.json file.Share all the settings with the
go.
or["go"]
orgopls
prefixes.Describe the bug
This may be related to golang/vscode-go#1283
My issue is more about why this is happening. Maybe gopls is a better place to open this issue.
I have a dependency: github.com/awslabs/aws-lambda-go-api-proxy
That has a dependency: github.com/kataras/iris/v12 v12.1.8
And that has a dependency: golang.org/x/text v0.3.2
But, I don't want to use golang.org/x/text v0.3.2 since it has a known issue as you can see here
When I build and run from the terminal, there is no issue. When I use GoLand, there doesn't seem to be an issue there either; however, when I open the project on VS Code, I get error messages such as:
go.sum is out of sync with go.mod. Please update it by applying the quick fix.go list
and the only solutions I get (which don't work) are exactly the same offered on golang/vscode-go#1283
Steps to reproduce the behavior:
Screenshots or recordings
If applicable, add screenshots or recordings to help explain your problem.

The text was updated successfully, but these errors were encountered: