Documentation ¶
Index ¶
- func GenRandomString(length int, charset string) (rs string)
- func GetRandBit(bitNum int) int
- func RandByte(bNum int) (b []byte)
- func RandomChoice(population interface{}) (interface{}, error)
- func RandomChoices(population interface{}, repeat int) (choices []interface{}, err error)
- func RandomInt(minNum, maxNum int) (s int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenRandomString ¶
func GetRandBit ¶
func RandomChoice ¶
func RandomChoice(population interface{}) (interface{}, error)
func RandomChoices ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.