//
pkg.gl
Category
github.com/adamesong/go-util
random
package
1.0.18
Repository:
https://github.com/adamesong/go-util.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
3
Files
35 SLOC
#
Functions
RandomNumber
RandomNumber 返回一个n位数字的string。首位可能是"0"。可用于生成随机号码。.
RandomString
RandomString 返回一个随机字符串(不含特殊符号) 参考:https://stackoverflow.com/questions/22892120/how-to-generate-a-random-string-of-a-fixed-length-in-go/22892986.
RandomStringWithSpecial
No description provided by the author