更新
This commit is contained in:
@ -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 ""
|
||||
}
|
||||
|
Reference in New Issue
Block a user