func golang.org/x/exp/rand.Perm
3 uses
golang.org/x/exp/rand (current package)
rand.go#L304: func Perm(n int) []int { return globalRand.Perm(n) }
github.com/go-redis/redis/v8
cluster.go#L1013: for _, idx := range rand.Perm(len(addrs)) {
cluster.go#L1568: perm := rand.Perm(len(addrs))
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |