DevBits
Home
Atlas
Play
About
Sign up
Log in
All
Go
rand.Perm()
Examples using...
rand.Perm()
Recent
Examples
Perm in Go
by GoDoc
Go
rand.Perm
fmt
fmt.Println
math/rand
Perm returns, as a slice of n ints, a pseudo-random permutation of the integers [0,n) from the default Source.