random

package
v0.0.0-...-32386f8 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2019 License: MIT Imports: 8 Imported by: 0

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