Documentation ¶
Index ¶
- func AppendStrAsNewParagraph(base, str string) string
- func AsSnakeCase(s string) string
- func BeginsWithVowel(s string) bool
- func CamelCaseToKebabCase(s string) string
- func IndefiniteArticleFor(s string) string
- func IsPascalCase(s string) bool
- func IsSnakeCase(s string) bool
- func KebabCaseToLowerSnakeCase(s string) string
- func LowercaseInitial(str string) string
- func Pluralize(singular string) string
- func RemoveSpecialCharacters(s string) string
- func SnakeCaseStrsToLowerCamelCaseStrs(strs []string) []string
- func SnakeCaseToKebabCase(s string) string
- func SnakeCaseToLowerCamelCase(s string) string
- func SnakeCaseToLowerCase(s string) string
- func SnakeCaseToUpperCamelCase(s string) string
- func UppercaseInitial(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendStrAsNewParagraph ¶
func AsSnakeCase ¶
AsSnakeCase returns the given string converted to lowercase snake_case. If the input is already snake_case, no change is made. Any transitions in the input from lowercase to uppercase are interpreted as camelCase-style word transitions, and are replaced with an underscore.
func BeginsWithVowel ¶
func CamelCaseToKebabCase ¶
Convert a CamelCaseString to kebab-case-string.
func IndefiniteArticleFor ¶
func IsPascalCase ¶ added in v1.98.0
func IsSnakeCase ¶ added in v1.103.0
func KebabCaseToLowerSnakeCase ¶
Convert a kebab-case-string to lower_snake_case string.
func LowercaseInitial ¶
func RemoveSpecialCharacters ¶ added in v1.101.0
func SnakeCaseToKebabCase ¶
func SnakeCaseToLowerCase ¶ added in v1.98.0
func UppercaseInitial ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.