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