random

package
Version: v0.0.0-...-8b133c7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2015 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Between

func Between(min, lessThan int) int

Returns a random int in the range [min, lessThan)

func Digits

func Digits(numDigits int) string

Returns a random number with numDigits digits

func Uid

func Uid(numChars int) (uid string, err errs.Err)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL