Skip to content
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

drop Go 1.21, start taking advantage of Go 1.22 #832

Merged
merged 2 commits into from
Feb 12, 2024

Conversation

mvdan
Copy link
Member

@mvdan mvdan commented Feb 11, 2024

(see commit messages - please do not squash)

Needing to awkwardly treat Go versions as if they were semver
is no longer necessary thanks to go/version being in Go 1.22.0 now.
@mvdan mvdan requested review from lu4p and pagran February 11, 2024 21:45
We no longer need to worry about the scope of range variables,
we can iterate over integers directly, and we can use cmp.Or too.

I haven't paid close attention to using these everywhere.
This is mainly testing out the new features where I saw some benefit.
@pagran pagran merged commit 69bc62c into burrowers:master Feb 12, 2024
5 checks passed
@mvdan mvdan deleted the drop-go1.21 branch February 17, 2024 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants