diff --git a/string.go b/string.go index 49da990..1ef416e 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++ {