This commit is contained in:
zhangdeman committed 2022-05-14 16:26:33 +08:00
1 parent 25936d457a
commit 1be4d9eab1
1 file changed
+2 -2
+2 -2
View File
@@ -23,12 +23,12 @@ import (
type stringOperate struct { type stringOperate struct {
} }
// GenRandomString 获取随机长度的字符串 // GenRandom 获取随机长度的字符串
// //
// Author : go_developer@163.com<白茶清欢> // Author : go_developer@163.com<白茶清欢>
// //
// Date : 6:01 下午 2021/3/9 // 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 { if length == 0 {
return "" return ""
} }
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.