How do I get a set of random numbers that are not repeated in the set?
Go:
for i := 0; i < 10; i++ {
v := rand.Intn(100)
fmt.Println(v)
}
This gives me, sometimes, two or three of the same numbers. I want all of them different. How do I do this?