Documentation
¶
Index ¶
- func CamelToSnake(s string) string
- func Capitalize(s string) string
- func CleanString(origStr string, args ...bool) string
- func IsCapitalized(s string) bool
- func OnlyAlphaNumeric(s string) string
- func OnlyChinese(s string) string
- func OnlyNumeric(s string) string
- func Truncate(s string, size int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanString ¶
CleanString 处理字符串, args[0]为是否转换为小写
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.