Documentation ¶
Index ¶
- func GetValueOrAlt(values url.Values, key, alt string) string
- func ToDelimited(s string, del uint8) string
- func ToKebab(s string) string
- func ToScreamingDelimited(s string, del uint8, screaming bool) string
- func ToScreamingKebab(s string) string
- func ToScreamingSnake(s string) string
- func ToSnake(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetValueOrAlt ¶
GetValueOrAlt get value or alt
func ToDelimited ¶
ToDelimited converts a string to delimited.snake.case (in this case `del = '.'`)
func ToScreamingDelimited ¶
ToScreamingDelimited converts a string to SCREAMING.DELIMITED.SNAKE.CASE (in this case `del = '.'; screaming = true`) or delimited.snake.case (in this case `del = '.'; screaming = false`)
func ToScreamingKebab ¶
ToScreamingKebab converts a string to SCREAMING-KEBAB-CASE
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.