Migrate to math/rand/v2 #34676
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
priority:p3
Lowest
Component(s)
No response
Describe the issue you're reporting
Go 1.22 introduced math/rand/v2 which replaces the
math/rand
stdlib package. We should migrate to it!Once we have migrated, we can forbid its usage via
depguard
.Components using
math/rand
v1:(generated with
rg math/rand -l -tgo | cut -d'/' -f1-2 | sort | uniq | sed 's/^/- [ ] /'
)Counterpart to open-telemetry/opentelemetry-collector/issues/10885.
The text was updated successfully, but these errors were encountered: