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

Update minimum golang version to v1.21.7 #718

Merged
merged 5 commits into from
Feb 9, 2024
Merged

Update minimum golang version to v1.21.7 #718

merged 5 commits into from
Feb 9, 2024

Conversation

dhrubabasu
Copy link
Contributor

Why this should be merged

go1.22 was released. Golang only provides security patches for the prior version so we'll update to go1.21.7.

How this works

  • Update to go1.21.7
  • Use the new min and max built-in functions instead of our math.Max and math.Min functions.
  • Use the new slices pkg instead of /x/exp/slices.
  • Use the new maps pkg instead of /x/exp/maps.
  • Use the new cmp pkg instead of /x/exp/constraints

How this was tested

CI

@patrick-ogrady patrick-ogrady merged commit 10bd43e into main Feb 9, 2024
23 checks passed
@dhrubabasu dhrubabasu deleted the go1.21.7 branch February 9, 2024 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants