-
Notifications
You must be signed in to change notification settings - Fork 366
_content/tour: fix offline mode go.mod lacking version
#341
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
base: master
Are you sure you want to change the base?
Conversation
eb8645b to
0eab249
Compare
|
This PR (HEAD: 0eab249) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/website/+/732840. Important tips:
|
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/732840. |
|
This PR (HEAD: c20b2d3) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/website/+/732840. Important tips:
|
|
Message from Gopher Robot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be Please don’t reply on this GitHub thread. Visit golang.org/cl/732840. |
Previously, an accidentally missing
godirective within the generatedgo.modfilewould effectively set the version to
1.16, which (being quite old) would raiseerrors upon attempting to compile generics-related example snippets.
The code has been updated to properly use the latest go version (1.25 as of current).
This may need to be updated in the future if any Go 1.26+-specific examples are added later, but this works for now.
Fixes golang/go#76932