Documentation
¶
Index ¶
Constants ¶
View Source
const ( CharsetLetterLower = "abcdefghijklmnopqrstuvwxyz" CharsetLetterUpper = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" CharsetNumber = "0123456789" CharsetSymbol = "!@#$%^&*" CharsetLetter = CharsetLetterLower + CharsetLetterUpper CharsetLetterAndNumber = CharsetLetter + CharsetNumber CharsetAscii = CharsetLetterAndNumber + CharsetSymbol )
Variables ¶
This section is empty.
Functions ¶
func RandInt ¶
RandInt returns a uniform random value in [min, max). It panics if max <= 0 and return 0 if min > max.
func RandString ¶
RandString generate with CharsetLetterAndNumber
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.