Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Duration /* @return a random time.Duration between min and max: [min, max] */ Duration func(min, max time.Duration) time.Duration = grand.D )
View Source
var ( // Int 生成随机int /* @return 范围: [min, max) */ Int = random.RandInt )
View Source
var LetterString func(length int) string = random.RandString
LetterString 生成给定长度的随机字符串,只包含字母(a-zA-Z)
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.