package rand

Import Path
	github.com/redis/go-redis/v9/internal/rand (on go.dev)

Dependency Relation
	imports 2 packages, and imported by 3 packages

Involved Source Files rand.go
Package-Level Functions (total 6)
Int returns a non-negative pseudo-random int.
Int63n returns, as an int64, a non-negative pseudo-random number in [0,n). It panics if n <= 0.
Intn returns, as an int, a non-negative pseudo-random number in [0,n). It panics if n <= 0.
Perm returns, as a slice of n ints, a pseudo-random permutation of the integers [0,n).
Seed uses the provided seed value to initialize the default Source to a deterministic state. If Seed is not called, the generator behaves as if seeded by Seed(1).
Shuffle pseudo-randomizes the order of elements. n is the number of elements. swap swaps the elements with indexes i and j.