Files
Stephan BehnkeandGitHub 8d0f75baf1 🧹 remove calls to rand.Seed (#4954)
<!-- Describe what has changed in this PR -->
**What changed?**

Removed all calls to `rand.Seed` with a _random_ initialization value.

<!-- Tell your future self why have you made these changes -->
**Why?**

Less code is better.

[From the docs](https://pkg.go.dev/math/rand#Seed):

> If Seed is not called, the generator is seeded randomly at program
startup.

> Prior to Go 1.20, the generator was seeded like Seed(1) at program
startup. [...]

> Deprecated: **As of Go 1.20 there is no reason to call Seed with a
random value**. [...]

<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**

Existing tests.

<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**

According to the docs, this is a no-op change in terms of behaviour.

<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**

No.
2023-10-10 14:34:15 -07:00
..
2023-07-21 11:56:50 -04:00