package
Version:
v2.21.3+incompatible
Opens a new window with list of versions in this module.
Published: Apr 5, 2017
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 25
Opens a new window with list of known importers.
Documentation
¶
Package dice contains common functions to generate random number.
It also initialize math/rand with the time in seconds at launch time.
RandomUint16 returns a random uint16 value.
Roll returns a non-negative number between 0 (inclusive) and n (exclusive).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.