Compare commits
2 Commits
2936ec4ba5
...
ad77044f1e
Author | SHA1 | Date | |
---|---|---|---|
ad77044f1e | |||
24edcae2b3 |
@ -58,6 +58,15 @@ func (s *stringOperate) Md5(str string) string {
|
||||
return hex.EncodeToString(h.Sum(nil))
|
||||
}
|
||||
|
||||
// GenRandomMd5 生成随机md5
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 20:11 2022/7/12
|
||||
func (s *stringOperate) GenRandomMd5() string {
|
||||
return s.Md5(s.GenRandom("", 16))
|
||||
}
|
||||
|
||||
// SnakeCaseToCamel 蛇形字符串转换为驼峰
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
|
Reference in New Issue
Block a user