From 906d43322ef04f3e4fa380a8b928df2ff07ef39b Mon Sep 17 00:00:00 2001 From: bryanqiu Date: Mon, 5 Dec 2022 10:06:56 +0800 Subject: [PATCH] v1.0.3 --- str.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/str.go b/str.go index 6e097b2..5fe1e03 100644 --- a/str.go +++ b/str.go @@ -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{}