-
-
Notifications
You must be signed in to change notification settings - Fork 477
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
[cleanup] Math/rand.Seed deprecated #2650
Comments
Usually "Deprecated" just means it's finally stable ;) But I'll check what the recommendation is these days. |
For the test files we actually rely on detemernistic output, so we will need some more changes. We need to introduce a global variable with a local generator and seed it like this |
@dominikschulz |
@orangekame3 Feel free to do so |
@dominikschulz |
Summary
Since Go 1.20 release, math/rand.Seed is marked "Deprecated"
Looks like five instances to consider updating:
The text was updated successfully, but these errors were encountered: