- math/rand
The math/rand package now automatically seeds the global
random number generator (used by top-level functions like
Float64 and Int) with a random value, and the top-level
Seed function has been deprecated. Programs that need a
reproducible sequence of random numbers should prefer to
allocate their own random source, using
rand.New(rand.NewSource(seed)).
(...)