Skip to content

switch to golang standard library for slices #4838

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

Closed

Conversation

dims
Copy link

@dims dims commented May 16, 2025

slices package has been available since golang 1.21 [1]. current supported versions of golang is 1.22 and 1.23 [2].

So, Can we please bump

  • at least 1.21 in go.mod
  • switch the import to drop the experimental x/exp package

Context: in kubernetes, we have been trying to remove the usage of x/exp for a while now [3] and this is the last bit we need. thanks!

cc @liggitt

[1] https://tip.golang.org/doc/go1.21#slices
[2] https://endoflife.date/go
[3] kubernetes/kubernetes#128571

@dims dims closed this May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant