package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Mar 15, 2016
License: Apache-2.0, Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package rand provides utilities related to randomization.
Intn generates an integer in range 0->max.
By design this should panic if input is invalid, <= 0.
Perm returns, as a slice of n ints, a pseudo-random permutation of the integers [0,n)
from the default Source.
Seed seeds the rng with the provided seed.
String generates a random alphanumeric string n characters long. This will
panic if n is less than zero.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.