Documentation ¶
Index ¶
- func CamelCase(s string) string
- func CamelCaseLower(s string) string
- func DotCase(s string) string
- func DotCaseLower(s string) string
- func DotCaseUpper(s string) string
- func FirstChar(s string) string
- func FirstCharLower(s string) string
- func FirstCharUpper(s string) string
- func Join(sep string, a ...string) string
- func KebabCase(s string) string
- func KebabCaseLower(s string) string
- func KebabCaseUpper(s string) string
- func LowerCase(s string) string
- func LowerFirst(s string) string
- func PathCase(s string) string
- func PathCaseLower(s string) string
- func PathCaseUpper(s string) string
- func PopulateFuncMap() template.FuncMap
- func SnakeCase(s string) string
- func SnakeCaseLower(s string) string
- func SnakeCaseUpper(s string) string
- func UpperCase(s string) string
- func UpperFirst(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CamelCaseLower ¶
CamelCase returns a string representation of the value in CamelCase.
func DotCaseLower ¶
DotCaseLower returns a string representation of the value in dot.case
func DotCaseUpper ¶
DotCaseUpper returns a string representation of the value in DOT.CASE
func FirstCharLower ¶
FirstCharLower returns the first character of the value in lowercase.
func FirstCharUpper ¶
FirstCharUpper returns the first character of the value in UPPER CASE.
func KebabCaseLower ¶
KebapCaseLower returns a string representation of the value in kebap-case.
func KebabCaseUpper ¶
KebapCaseUpper returns a string representation of the value in KEBAP-CASE.
func LowerFirst ¶
LowerFirst returns a string representation of the value with the first character in lowercase.
func PathCaseLower ¶
PathCaseLower returns a string representation of the value in path/case.
func PathCaseUpper ¶
PathCaseUpper returns a string representation of the value in PATH/CASE.
func PopulateFuncMap ¶
func SnakeCaseLower ¶
SnakeCaseLower returns a string representation of the value in snake_case.
func SnakeCaseUpper ¶
First returns the first character of the value.
func UpperFirst ¶
UpperFirst returns a string representation of the value with the first character in UPPER CASE.
Types ¶
This section is empty.