This question has already been answered:
- Random number in golang 3 replies
The rand.Int() function produces the same number each time. I thought that I had something with the machine, but no, Go playground also gives out one number. How to get a random (so that with each call was a new number)?