Documentation
¶
Index ¶
- func RandInt() int
- func RandInt31() int32
- func RandInt31n(max int32) int32
- func RandInt63() int64
- func RandInt63n(max int64) int64
- func RandIntn(n int) int
- func RandLetterNumbers(size int) string
- func RandLetters(size int) string
- func RandLowerLetters(size int) string
- func RandNumbers(size int) string
- func RandString(size int, chars ...string) string
- func RandSymbols(size int) string
- func RandUpperLetters(size int) string
- func Read(bs []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandInt31n ¶ added in v1.2.20
func RandInt63n ¶ added in v1.2.20
func RandLetterNumbers ¶
RandLetterNumbers create a random letter number string
func RandLowerLetters ¶
RandLowerLetters create a random lower letter string
func RandString ¶
RandString create a random string by the input chars if chars is omitted, the LetterNumberSymbols is used
func RandUpperLetters ¶
RandUpperLetters create a random upper letter string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.