Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseContext ¶ added in v1.0.1
BaseContext 组装基础context, 例如logger, trace等
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.