random

package
v6.3.1-rc2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 21, 2019 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const StringAlphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()"

Variables

This section is empty.

Functions

func RandByte

func RandByte() byte

func RandByteSlice

func RandByteSlice() []byte

func RandByteSliceOfLen

func RandByteSliceOfLen(l int) []byte

func RandInt

func RandInt() int

func RandInt64

func RandInt64() int64

func RandInt64Between

func RandInt64Between(min, max int64) int64

func RandIntBetween

func RandIntBetween(min, max int) int

func RandNonEmptyByteSlice

func RandNonEmptyByteSlice() []byte

func RandUInt32

func RandUInt32() uint32

func RandUInt64

func RandUInt64() uint64

func RandUInt64Between

func RandUInt64Between(min, max uint64) uint64

func RandUInt8

func RandUInt8() uint8

func RandomString

func RandomString() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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