-
Notifications
You must be signed in to change notification settings - Fork 247
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
Update to Go 1.22 #2086
Update to Go 1.22 #2086
Conversation
Cc: @Luap99 |
f0fbf28
to
9fce543
Compare
go.mod
Outdated
@@ -1,7 +1,7 @@ | |||
go 1.21 | |||
go 1.22 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency should we set this to 1.22.0 so that the toolchain line is removed like in the other projects?
I was thinking about updating the warning comment here to always say we never want the toolchain in go.mod
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both done.
Thanks!
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
... for the trivial cases where the loop body does not reference the iteration variable at all. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Leave anything requiring math/rand.Read alone. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Luap99, mtrmac The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
… and take advantage of the new features where it’s easy to do.