更新
This commit is contained in:
parent
25936d457a
commit
1be4d9eab1
@ -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 ""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user