After upgrade every time I open VS Code I get a Error loading workspace folders
and Even All the extension were not working
go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -- builtin ibm.com/cloudbroker/order/...]: exit status 1: build flag -mod=readonly only valid when using modules
: packages.Load error[![enter image description here][1]][1]
go version go1.12.17 darwin/amd64 VsCode Version: 1.52.1 OS: Darwin x64 20.2.0
January 28 marked a major milestone in both the gopls and VS Code Go journeys, as gopls is now enabled by default in the Go extension for VS Code.
https://blog.golang.org/gopls-vscode-go
you need to disable the go.useLanguageServer flag in your settings.json
mine looks like this:
{
"go.inferGopath": false,
"go.toolsGopath": "C:\\Go",
"go.useLanguageServer": false
}