Documentation ¶
Index ¶
- func GetBufferPool() *bytes.Buffer
- func GetStringsBuilder() *strings.Builder
- func GetUrlValues() url.Values
- func KebabCase(s string) string
- func LowerCamelCase(s string) string
- func PrintableBytes(data []byte) []byte
- func PrintableString(s string) string
- func PutBufferPool(buf *bytes.Buffer)
- func PutStringsBuilder(b *strings.Builder)
- func PutUrlValues(vals url.Values)
- func SnakeCase(s string) string
- func StringsJoin(strs ...string) string
- func Title(s string) string
- func UpperCamelCase(s string) string
- func UpperKebabCase(s string) string
- func UpperSnakeCase(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBufferPool ¶ added in v1.2.8
func GetStringsBuilder ¶ added in v1.2.8
func GetUrlValues ¶ added in v1.2.8
func LowerCamelCase ¶
LowerCamelCase converts a string into camel case starting with a lower case letter.
func PrintableBytes ¶ added in v1.2.7
Clean removes non-graphic characters from the given string. Removable characters are the ones for which unicode.IsGraphic() returns false.
func PrintableString ¶ added in v1.2.7
PrintableString removes non-graphic characters from the given string. Removable characters are the ones for which unicode.IsGraphic() returns false.
func PutBufferPool ¶ added in v1.2.8
func PutStringsBuilder ¶ added in v1.2.8
func PutUrlValues ¶ added in v1.2.8
func StringsJoin ¶ added in v1.2.8
func Title ¶ added in v1.3.4
Title converts a string into camel case starting with a upper case letter and keep uppercase letter.
func UpperCamelCase ¶
UpperCamelCase converts a string into camel case starting with a upper case letter.
func UpperKebabCase ¶
UpperKebabCase converts a string into kebab case with capital letters.
func UpperSnakeCase ¶
UpperSnakeCase converts a string into snake case with capital letters.
Types ¶
This section is empty.