Documentation
¶
Overview ¶
Package random implements some basic functions to generate random int and string.
Index ¶
Constants ¶
View Source
const ( NUMERAL = "0123456789" LOWER_LETTERS = "abcdefghijklmnopqrstuvwxyz" UPPER_LETTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" LETTERS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" )
Variables ¶
This section is empty.
Functions ¶
func RandNumeral ¶ added in v2.1.9
RandNumeral generate a random numeral string
func RandNumeralOrLetter ¶ added in v2.1.9
RandNumeralOrLetter generate a random numeral or letter string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.