Documentation
¶
Overview ¶
Deprecated: string is deprecated - use github.com/neticdk/go-stdlib/xstrings
Index ¶
- func Slugify(s string, options ...xstrings.TransformOption) string
- func ToCamelCase(s string) string
- func ToDelimited(s string, delimiter string) string
- func ToDotCase(s string) string
- func ToKebabCase(s string) string
- func ToPascalCase(s string) string
- func ToSnakeCase(s string) string
- func Transliterate(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Slugify ¶
func Slugify(s string, options ...xstrings.TransformOption) string
Slugify converts a string to a slug. By default, it converts the string to lowercase, transliterates it, and removes camel case. Deprecated: Slugify is deprecated and has been moved to github.com/neticdk/go-stdlib/xstrings.Slugify
func ToCamelCase ¶
ToCamelCase converts a string to camelCase. Deprecated: ToCamelCase is deprecated and has been moved to github.com/neticdk/go-stdlib/xstrings.ToCamelCase
func ToDelimited ¶
ToDelimited converts a string to a delimited format using the specified delimiter Deprecated: ToDelimited is deprecated and has been moved to github.com/neticdk/go-stdlib/xstrings.ToDelimited
func ToDotCase ¶
ToDotCase converts a string to dot case. Deprecated: ToDotCase is deprecated and has been moved to github.com/neticdk/go-stdlib/xstrings.ToDotCase
func ToKebabCase ¶
ToKebabCase converts a string to kebab case. Deprecated: ToKebabCase is deprecated and has been moved to github.com/neticdk/go-stdlib/xstrings.ToKebabCase
func ToPascalCase ¶
ToPascalCase converts a string to pascal case. Deprecated: ToPascalCase is deprecated and has been moved to github.com/neticdk/go-stdlib/xstrings.ToPascalCase
func ToSnakeCase ¶
ToSnakeCase converts a string to snake case. Deprecated: ToSnakeCase is deprecated and has been moved to github.com/neticdk/go-stdlib/xstrings.ToSnakeCase
func Transliterate ¶
Transliterate converts a string to its transliterated form. Deprecated: Transliterate is deprecated and has been moved to github.com/neticdk/go-stdlib/xstrings/transliterate.String
Types ¶
This section is empty.