casing

package
v0.395.12 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToCamel

func ToCamel(str string) string

func ToLowerCamel

func ToLowerCamel(str string) string

func ToPlural added in v0.394.2

func ToPlural(word string) string

To Plural will return the plural word for the given singular word

func ToScreamingSnake

func ToScreamingSnake(str string) string

func ToSentenceCase added in v0.394.2

func ToSentenceCase(str string) string

ToSentenceCase will return a given string as "Sentence case"; splitting all components into words and capitalising just the first char. e.g. `listOrder` becomes "List order"

func ToSnake

func ToSnake(str 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