Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandString ¶
func RandString(n int, randType RandStringType) string
func StringReverse ¶
Types ¶
type RandStringType ¶
type RandStringType int
const ( Number RandStringType = iota // 数字 Letter // 小写数字 Mix // 大小写数字混合 )
Click to show internal directories.
Click to hide internal directories.