After the March update 1.55.0 of VSCode I've experienced a misconfiguration in golang extension
Failed to run '/snap/bin/go env. The config change may not be applied correctly.
Golang is installed locally via snap
so I had to change the following paths in vscode settings.json
go env GOPATH
go env GOROOT