Documentation ¶
Index ¶
- func IsLetter(b byte) bool
- func IsLower(b byte) bool
- func IsSpace(b byte) bool
- func IsSpaceQuote(b byte) bool
- func IsUpper(b byte) bool
- func ToAbridge(str string) string
- func ToCamel(s string) string
- func ToLower(b byte) byte
- func ToLowerAbridge(str string) (s string)
- func ToLowerString(b byte) string
- func ToSnake(s string) string
- func ToUpper(b byte) byte
- func ToUpperString(b byte) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSpaceQuote ¶
IsSpaceQuote return wehter a byte is space or quote characters
func ToAbridge ¶
ToAbridge extract first letter and all upper case letter from string as it's abridge case
func ToCamel ¶
ToCamel string, xx_yy to XxYy, xx__yy to Xx_Yy xx _yy to Xx Yy, the rule is that a lower case letter after '_' will combine to a upper case letter
func ToLowerAbridge ¶
ToLowerAbridge extract first letter and all upper case letter from string as it's abridge case, and convert it to lower case
func ToLowerString ¶
ToLowerString convert a byte to lower case string
func ToUpperString ¶
ToUpperString convert a byte to upper case string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.