formats

package
v0.0.0-...-c69be4e Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaseCamel

func CaseCamel(str string) string

CaseCamel transforms string to `camelCase`

func CaseKebab

func CaseKebab(str string) string

CaseKebab transforms string to `kebab-case`

func CasePascal

func CasePascal(str string) string

CasePascal transforms string to `PascalCase`

func CaseSnake

func CaseSnake(str string) string

CaseSnake transforms string to `snake_case`

func Contains

func Contains(value string, subStr string) bool

func HasPrefix

func HasPrefix(value string, prefix string) bool

func HasSuffix

func HasSuffix(value string, suffix string) bool

func SplitAfterDelimiter

func SplitAfterDelimiter(value string, delimiter string) []string

func SplitByDelimiter

func SplitByDelimiter(value string, delimiter string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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