You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The math/rand package now automatically seeds the global random number generator with a random value
So, the note from the tour:
Note: The environment in which these programs are executed is deterministic, so each time you run the example program rand.Intn will return the same number.
(To see a different number, seed the number generator; see [rand.Seed](https://go.dev/pkg/math/rand/#Seed). Time is constant in the playground, so you will need to use something else as the seed.)
is not actual anymore
The text was updated successfully, but these errors were encountered:
Context: https://go.dev/tour/basics/1
According to the Go 1.20 Release Notes:
So, the note from the tour:
is not actual anymore
The text was updated successfully, but these errors were encountered: