v1.0.3
This commit is contained in:
parent
13d410f2b8
commit
906d43322e
5
str.go
5
str.go
@ -16,7 +16,10 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// get random number string with length.
|
// get random number string with length.
|
||||||
func GetRandomString(l int) string {
|
var GetRandomString = GetRandomNumString
|
||||||
|
|
||||||
|
// get random number string with length.
|
||||||
|
func GetRandomNumString(l int) string {
|
||||||
str := NUMBERSTRING
|
str := NUMBERSTRING
|
||||||
bytes := []byte(str)
|
bytes := []byte(str)
|
||||||
result := []byte{}
|
result := []byte{}
|
||||||
|
Loading…
Reference in New Issue
Block a user