-
Notifications
You must be signed in to change notification settings - Fork 1
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
Use Go standard library slices package instead of x/exp/slices #50
Conversation
Alternatively, we could also bump |
|
Just merged the range-funcs PR, so cilium/statedb is now at Go v1.23. EDIT: Did this myself. |
Use the standard library packages instead of x/exp/{slices,maps}. The former is available since Go 1.21 and the latter is merely a wrapper around it when using Go ≥ 1.21. Use the standard library package directly. Signed-off-by: Tobias Klauser <[email protected]> Signed-off-by: Jussi Maki <[email protected]>
ed1d3b9
to
bb4f25a
Compare
The former is available since Go 1.21 and the latter is merely a wrapper around it when using Go ≥ 1.21. Use the standard library package directly.
We cannot yet switch out
x/exp/maps
for the standard librarymaps
package as themaps.Keys
function used instatedb
code base is only available in Go ≥ 1.23.