-
Notifications
You must be signed in to change notification settings - Fork 96
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
[Doc] Mention minimum Go version required for development #1288
Conversation
@kevin85421 I think we should say that the project requires the version to be at least |
This makes sense to me. Based on information from https://go.dev/doc/toolchain, starting with Go 1.21, support for
Do we need to set I experimented as shown in the following screenshot:
Several questions
Thanks! |
@kevin85421 I'd say "at least Go v1.21". GOTOOLCHAIN=auto is the default, so we may not need to mention it. |
00a0fef
to
f748d8f
Compare
✅ Deploy Preview for nginx-gateway-fabric ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Thanks! I've already updated the document. I retained the Go installation command because https://go.dev/doc/install advises users to "Remove any previous Go installation by deleting the /usr/local/go folder". |
I don't think we need the example instructions on how to install Go. Their docs should explain that. You're also using Go to install Go, so that's a little confusing. I would just keep to the simple link and and version. |
This makes sense. I have updated the PR. Thanks! |
Proposed changes
My devbox uses Go 1.20.11 by default, so I got some compilation errors when I ran
make build
. In addition, go.mod requires 1.21.3, but the doc does not mention it.Checklist
Before creating a PR, run through this checklist and mark each as complete.