jeudi 10 mai 2018

How to get a sample of random numbers in golang?

Or I have to use straightforward way like:

var arr []int

for i := 0; i < 5; i++ {
    arr = append(arr, rand.Intn(100))
}




Aucun commentaire:

Enregistrer un commentaire