This commit is contained in:
白茶清欢 2022-05-14 16:26:33 +08:00
parent 25936d457a
commit 1be4d9eab1

View File

@ -23,12 +23,12 @@ import (
type stringOperate struct {
}
// GenRandomString 获取随机长度的字符串
// GenRandom 获取随机长度的字符串
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 6:01 下午 2021/3/9
func (s *stringOperate) GenRandomString(source string, length uint) string {
func (s *stringOperate) GenRandom(source string, length uint) string {
if length == 0 {
return ""
}