Documentation
¶
Overview ¶
Package casing converts identifier strings between common casing styles.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Camel ¶ added in v0.9.0
Camel converts a kebab-case, snake_case, PascalCase, or dotted string into camelCase: the first word lowercased, each later word capitalized (api-endpoint -> apiEndpoint, int8-flag -> int8Flag).
func UpperSnake ¶
UpperSnake converts a CamelCase, PascalCase, kebab-case, or dotted string into UPPER_SNAKE_CASE.
func UppercaseWords ¶
UppercaseWords converts a CamelCase word into uppercase, dash-separated tokens, grouping acronyms (HTTPMethod -> HTTP-METHOD, ExistingFile -> EXISTING-FILE).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.