string

package
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Deprecated: string is deprecated - use github.com/neticdk/go-stdlib/xstrings

Index

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

func ToCamelCase(s string) string

ToCamelCase converts a string to camelCase. Deprecated: ToCamelCase is deprecated and has been moved to github.com/neticdk/go-stdlib/xstrings.ToCamelCase

func ToDelimited

func ToDelimited(s string, delimiter string) string

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

func ToDotCase(s string) string

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

func ToKebabCase(s string) string

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

func ToPascalCase(s string) string

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

func ToSnakeCase(s string) string

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

func Transliterate(s string) string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL