Versions in this module Expand all Collapse all v0 v0.2.0 Jan 14, 2023 v0.1.1 Sep 20, 2020 Changes in this version + func ToCamel(s string) string + func ToCase(s string, wordCase WordCase, delimiter rune) string + func ToGoCamel(s string) string + func ToGoCase(s string, wordCase WordCase, delimiter rune) string + func ToGoKebab(s string) string + func ToGoPascal(s string) string + func ToGoSnake(s string) string + func ToKEBAB(s string) string + func ToKebab(s string) string + func ToPascal(s string) string + func ToSNAKE(s string) string + func ToSnake(s string) string + type Caser struct + func NewCaser(goInitialisms bool, initialismOverrides map[string]bool, splitFn SplitFn) *Caser + func (c *Caser) ToCamel(s string) string + func (c *Caser) ToCase(s string, wordCase WordCase, delimiter rune) string + func (c *Caser) ToKEBAB(s string) string + func (c *Caser) ToKebab(s string) string + func (c *Caser) ToPascal(s string) string + func (c *Caser) ToSNAKE(s string) string + func (c *Caser) ToSnake(s string) string + type SplitAction int + const Noop + const Skip + const SkipSplit + const Split + type SplitFn func(prev, curr, next rune) SplitAction + func NewSplitFn(delimiters []rune, splitOptions ...SplitOption) SplitFn + type SplitOption int + const PreserveNumberFormatting + const SplitAcronym + const SplitAfterNumber + const SplitBeforeNumber + const SplitCase + type WordCase int + const CamelCase + const LowerCase + const Original + const TitleCase + const UpperCase