rafaeljesus/retry-go

math/rand.Int63n returns a deterministic series of values if you do not initialize it

puellanivis opened this issue · 0 comments

From https://golang.org/pkg/math/rand/

Top-level functions, such as Float64 and Int, use a default shared Source that produces a deterministic sequence of values each time a program is run.

This library needs to initialize a new rand.Source with at least some amount of non-deterministic seed.