strcase

package
v0.0.0-...-3112392 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CamelCase

func CamelCase(s string) string

CamelCase converts the string into camel case string

func CamelCaseToKebabCase

func CamelCaseToKebabCase(s string) string

CamelCaseToKebabCase converts "MyName" to "my-name"

func CamelCaseWithSeparator

func CamelCaseWithSeparator(n string, sep string) string

CamelCaseWithSeparator splits the given string by the separator, converts the parts to CamelCase and then re-joins them.

Types

This section is empty.

Jump to

Keyboard shortcuts

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