Closed GoogleCodeExporter closed 8 years ago
I think the playground has been updated to include an explanation for this
behavior:
http://tour.golang.org/#4
"Note: the environment in which these programs are executed is deterministic,
so rand.Intn will always return the same number.
(To see a different number, seed the number generator; see rand.Seed.)"
Original comment by fresh.gr...@gmail.com
on 4 Jul 2014 at 6:25
Original comment by a...@golang.org
on 6 Jul 2014 at 9:01
Original issue reported on code.google.com by
feedback...@gmail.com
on 16 Aug 2013 at 12:43