Description
Hi Tools team 😄 ❤️
I was just trying to use Go for a personal project, and I had a very old version of Go and of gopls
installed on my computer. The version of Go was actually so old that it wouldn't build gopls
, and I kept getting this error message:
go install -v golang.org/x/tools/gopls@latest
package golang.org/x/tools/gopls
imports golang.org/x/tools/gopls/internal/cmd
imports golang.org/x/tools/gopls/internal/vulncheck/scan: build constraints exclude all Go files in /Users/rstambler/code/pkg/mod/golang.org/x/tools/gopls@v0.15.3/internal/vulncheck/scan
package golang.org/x/tools/gopls
imports golang.org/x/tools/gopls/internal/cmd
imports golang.org/x/tools/gopls/internal/cache
imports golang.org/x/tools/gopls/internal/vulncheck/semver: build constraints exclude all Go files in /Users/rstambler/code/pkg/mod/golang.org/x/tools/gopls@v0.15.3/internal/vulncheck/semver
At this point, I imagine there are many people out there who have installed some old version of Go, and they might be frustrated if they try Go again some years later. I wonder if there isn't a way for VS Code to come up with an alert that say something like "Welcome back! Your version of Go is no longer supported. Click here to update to the latest version and rebuild all of your Go tools." or something like that.
Hope this isn't a duplicate issue & excited to play with the latest version of all these great tools! 😄