This commit is contained in:
bryanqiu 2022-12-05 10:06:56 +08:00
parent 13d410f2b8
commit 906d43322e

5
str.go
View File

@ -16,7 +16,10 @@ const (
)
// 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
bytes := []byte(str)
result := []byte{}