New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go, x/mod: "invalid go version" message mentions old version format #61888
Comments
cc @bcmills |
What version of the |
just came across this, to update vscode go tooling:
or just to update golang language server: go install golang.org/x/tools/gopls@latest and you may Ctrl+Shift+P to |
Change https://go.dev/cl/527897 mentions this issue: |
For golang/go#61888 Change-Id: If4056623471edb6fd99d45dcd8a0751d6a54ce1c Reviewed-on: https://go-review.googlesource.com/c/mod/+/527897 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Bryan Mills <bcmills@google.com> Reviewed-by: Heschi Kreinick <heschi@google.com> Reviewed-by: Bryan Mills <bcmills@google.com>
I just got this error message recently after I updated go. I updated gopls as well and that did not fix it. For now I've manually edited the version number to be |
When parsing an invalid
go
line in a go.mod, the error message saysbut that's not strictly true, it doesn't have to match the
1.23
format anymore.The text was updated successfully, but these errors were encountered: