package
0.0.0-20200807125606-b3493662e4bf
Repository: https://github.com/thethingsnetwork/go-utils.git
Documentation: pkg.go.dev

# Functions

Bytes generates a random byte slice of length n.
FillBytes fills the byte slice with random bytes.
Intn returns a random number in the range [0,n).
New returns a new Random, in most cases you can also just use the global funcs.
String returns a random string of length n, it uses the characters of base64.URLEncoding.

# Structs

TTNRandom is used as a wrapper around crypto/rand.

# Interfaces

Interface for random.