Documentation ¶
Overview ¶
Package extrand extend rand
Index ¶
- func Float64(min, max float64) float64
- func Int(min, max int) int
- func Int31(min, max int32) int32
- func Int63(min, max int64) int64
- func RandInt64(length int) int64
- func RandLetter(length int) string
- func RandString(length int) string
- func RandSymbol(length int) string
- func Shuffle(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandLetter ¶ added in v0.1.6
RandLetter rand alpha with give length(只包含字母)
func RandString ¶
RandString rand string with give length(包含字母与数字)
func RandSymbol ¶ added in v0.1.3
RandSymbol rand symbol with give length(包含字母数字和特殊符号)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.