Documentation ¶
Overview ¶
Package strcase converts between different kinds of naming formats such as camel case (CamelCase), snake case (snake_case) or kebab case (kebab-case). The package is designed to work only with strings consisting of standard ASCII letters. Unicode is currently not supported.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LowerCamelCase ¶
LowerCamelCase converts a string into camel case starting with a lower case letter.
func UpperCamelCase ¶
UpperCamelCase converts a string into camel case starting with a upper case letter.
func UpperKebabCase ¶ added in v1.2.0
UpperKebabCase converts a string into kebab case with capital letters.
func UpperSnakeCase ¶ added in v1.2.0
UpperSnakeCase converts a string into snake case with capital letters.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.