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

refactor: remove usages of experimental maps package #7849

Merged

Conversation

Juneezee
Copy link
Contributor

All 4 usages of the maps.Keys function from the golang.org/x/exp/maps package can be refactored to a simpler alternative. If we need it in the future, it is available in the standard library since Go 1.23 1.

Footnotes

  1. https://go.dev/doc/go1.23#iterators

All 4 usages of the `maps.Keys` function from the
`golang.org/x/exp/maps` package can be refactored. If we need it again
in the future, it is available in the standard library since Go 1.23
[1].

[1]: https://go.dev/doc/go1.23#iterators

Signed-off-by: Eng Zer Jun <[email protected]>
@Juneezee Juneezee requested a review from a team as a code owner November 26, 2024 18:03
@Juneezee Juneezee requested a review from aarongable November 26, 2024 18:03
Copy link
Contributor

@aarongable aarongable left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally LGTM, thanks for this contribution. One clean-up in the tests.

Reference: #7849 (comment)
Signed-off-by: Eng Zer Jun <[email protected]>
@Juneezee Juneezee requested a review from aarongable November 27, 2024 01:01
aarongable
aarongable previously approved these changes Dec 3, 2024
Copy link
Contributor

@jsha jsha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good. A couple of small changes. Thanks for the contribution!

Reference: #7849 (review)
Signed-off-by: Eng Zer Jun <[email protected]>
@aarongable aarongable merged commit 13db2a2 into letsencrypt:main Dec 6, 2024
12 checks passed
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.

3 participants