Documentation ¶
Overview ¶
Package strcase copies the portions of code we need from https://github.com/iancoleman/strcase. This is done to avoid adding a new dependency to the project since many of the functions in strcase are not used, and api-go is used by so many other projects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToScreamingDelimited ¶
ToScreamingDelimited converts a string to SCREAMING.DELIMITED.SNAKE.CASE (in this case `delimiter = '.'; screaming = true`) or delimited.snake.case (in this case `delimiter = '.'; screaming = false`)
func ToScreamingSnake ¶
ToScreamingSnake converts a string to SCREAMING_SNAKE_CASE
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.