package
1.1.0
Repository: https://github.com/yspcoder/simple.git
Documentation: pkg.go.dev

# README

Example

s := "AnyKind of_string"
FunctionResult
ToSnake(s)any_kind_of_string
ToScreamingSnake(s)ANY_KIND_OF_STRING
ToKebab(s)any-kind-of-string
ToScreamingKebab(s)ANY-KIND-OF-STRING
ToDelimited(s, '.')any.kind.of.string
ToScreamingDelimited(s, '.')ANY.KIND.OF.STRING
ToCamel(s)AnyKindOfString
ToLowerCamel(s)anyKindOfString

# Functions

ToCamel Converts a string to CamelCase.
Converts a string to delimited.snake.case (in this case `del = '.'`).
Converts a string to kebab-case.
ToLowerCamel Converts a string to lowerCamelCase.
Converts a string to SCREAMING.DELIMITED.SNAKE.CASE (in this case `del = '.'; screaming = true`) or delimited.snake.case (in this case `del = '.'; screaming = false`).
Converts a string to SCREAMING-KEBAB-CASE.
Converts a string to SCREAMING_SNAKE_CASE.
Converts a string to snake_case.