Documentation
¶
Index ¶
Constants ¶
View Source
const ( Original = iota LowerCase = iota UpperCase = iota CamelCase = iota TitleCase = iota SnakeCase = iota KebabCase = iota UpperSnakeCase = iota UpperKebabCase = iota )
Types of casing
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Casing ¶
type Casing uint8
Casing type
func DetermineCasing ¶
DetermineCasing determines a strings casing
type Variants ¶
type Variants []Variant
Variants contains variations of a string in different casings.
func GenerateCasings ¶
GenerateCasings generates casings for the specified string
func (Variants) GetVariant ¶
GetVariant returns the variant for the specified casing.
Click to show internal directories.
Click to hide internal directories.