package
Version:
v0.12.0
Opens a new window with list of versions in this module.
Published: Jun 15, 2018
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
Seeded contains a self-contained, seeded (math/rand).Rand. It allows you
to generate random numbers in a concurrency-safe manner.
Create one of these with NewSeeded()
NewSeeded creates a new Seeded
Intn returns, as an int, a non-negative pseudo-random number in [0,n)
from the internally held seeded random number generator.
It panics if n <= 0.
This function (and its documentation!) is similar to (math/rand).Intn(max)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.