package
Version:
v2.24.2+incompatible
Opens a new window with list of versions in this module.
Published: Apr 24, 2017
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
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.
func RandomUint16 ¶
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.