|
@ -169,6 +169,7 @@ func GetRandomNumber(length int) string { |
|
|
* 字符串转大驼峰 ios_bbbbbbbb -> IosBbbbbbbbb |
|
|
* 字符串转大驼峰 ios_bbbbbbbb -> IosBbbbbbbbb |
|
|
*/ |
|
|
*/ |
|
|
func StrFirstToUpper(str string) string { |
|
|
func StrFirstToUpper(str string) string { |
|
|
|
|
|
str = strings.ReplaceAll(str, "`", "") |
|
|
temp := strings.Split(str, "_") |
|
|
temp := strings.Split(str, "_") |
|
|
var upperStr string |
|
|
var upperStr string |
|
|
for y := 0; y < len(temp); y++ { |
|
|
for y := 0; y < len(temp); y++ { |
|
|