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

Replace golang.org/x/exp with stdlib #2843

Merged
merged 1 commit into from
Feb 7, 2025
Merged

Conversation

Juneezee
Copy link
Contributor

@Juneezee Juneezee commented Feb 5, 2025

These experimental packages are now available in the Go standard library.

  1. golang.org/x/exp/slices -> slices (https://go.dev/doc/go1.21#slices)
  2. golang.org/x/exp/maps -> maps (https://go.dev/doc/go1.21#maps)
  3. golang.org/x/exp/constraints -> cmp (https://go.dev/doc/go1.21#cmp)
  4. golang.org/x/exp/rand -> math/rand/v2 (https://go.dev/doc/go1.22#math_rand_v2)

These experimental packages are now available in the Go standard
library.

	1. golang.org/x/exp/slices -> slices [1]
	2. golang.org/x/exp/maps -> maps [2]
	2. golang.org/x/exp/constraints -> cmp [3]
	3. golang.org/x/exp/rand -> math/rand/v2 [4]

[1]: https://go.dev/doc/go1.21#slices
[2]: https://go.dev/doc/go1.21#maps
[3]: https://go.dev/doc/go1.21#cmp
[4]: https://go.dev/doc/go1.22#math_rand_v2

Signed-off-by: Eng Zer Jun <[email protected]>
Copy link
Contributor

@fulghum fulghum left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution @Juneezee! 🙏 These changes look good. I'll let the CI tests finish running, then we'll merge this in.

@fulghum fulghum merged commit 6f3b8ac into dolthub:main Feb 7, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants