Documentation ¶
Index ¶
- func Digits(n int) string
- func Intn(max int) int
- func Letters(n int) string
- func Meet(num, total int) bool
- func MeetProb(prob float32) bool
- func N(min, max int) int
- func Perm(n int) []int
- func Rand(min, max int) int
- func RandDigits(n int) string
- func RandLetters(n int) string
- func RandStr(n int) string
- func Str(n int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Intn ¶
Intn returns a int number which is between 0 and max - [0, max).
Note: 1. The result is greater than or equal to 0, but less than <max>; 2. The result number is 32bit and less than math.MaxUint32.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.