Documentation
¶
Index ¶
- Constants
- func Alphabet(n int) string
- func Charset(n int, charset string) string
- func ChoiceInt(choices []int) int
- func ChoiceString(choices []string) string
- func HexStr(n int) string
- func IntRange(min, max int) int
- func Intn(n int) int
- func NewCryptoSeed() (int64, error)
- func NewTimeSeededSource() int64
- func NumeralStr(n int) string
- func String(n int) string
Constants ¶
View Source
const ( CharsetAlphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" CharsetNumeral = "1234567890" CharsetHex = "1234567890abcdef" CharsetAlphanumeric = CharsetAlphabet + CharsetNumeral )
Variables ¶
This section is empty.
Functions ¶
func ChoiceString ¶
func NewCryptoSeed ¶
func NewTimeSeededSource ¶
func NewTimeSeededSource() int64
func NumeralStr ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.