filters

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CamelCase

func CamelCase(s string) string

CamelCase returns a string representation of the value in CamelCase.

func CamelCaseLower

func CamelCaseLower(s string) string

CamelCase returns a string representation of the value in CamelCase.

func DotCase

func DotCase(s string) string

DotCase returns a string representation of the value in dot.case

func DotCaseLower

func DotCaseLower(s string) string

DotCaseLower returns a string representation of the value in dot.case

func DotCaseUpper

func DotCaseUpper(s string) string

DotCaseUpper returns a string representation of the value in DOT.CASE

func FirstChar

func FirstChar(s string) string

FirstChar returns the first character of the value.

func FirstCharLower

func FirstCharLower(s string) string

FirstCharLower returns the first character of the value in lowercase.

func FirstCharUpper

func FirstCharUpper(s string) string

FirstCharUpper returns the first character of the value in UPPER CASE.

func Join

func Join(sep string, a ...string) string

func KebabCase

func KebabCase(s string) string

KebabCase returns a string representation of the value in kebab-case.

func KebabCaseLower

func KebabCaseLower(s string) string

KebapCaseLower returns a string representation of the value in kebap-case.

func KebabCaseUpper

func KebabCaseUpper(s string) string

KebapCaseUpper returns a string representation of the value in KEBAP-CASE.

func LowerCase

func LowerCase(s string) string

LowerCase returns a string representation of the value in lowercase.

func LowerFirst

func LowerFirst(s string) string

LowerFirst returns a string representation of the value with the first character in lowercase.

func PathCase

func PathCase(s string) string

PathCase returns a string representation of the value in path/case.

func PathCaseLower

func PathCaseLower(s string) string

PathCaseLower returns a string representation of the value in path/case.

func PathCaseUpper

func PathCaseUpper(s string) string

PathCaseUpper returns a string representation of the value in PATH/CASE.

func PopulateFuncMap

func PopulateFuncMap() template.FuncMap

func SnakeCase

func SnakeCase(s string) string

SnakeCase returns a string representation of the value in snake_case.

func SnakeCaseLower

func SnakeCaseLower(s string) string

SnakeCaseLower returns a string representation of the value in snake_case.

func SnakeCaseUpper

func SnakeCaseUpper(s string) string

First returns the first character of the value.

func UpperCase

func UpperCase(s string) string

UpperCase returns a string representation of the value in UPPER CASE.

func UpperFirst

func UpperFirst(s string) string

UpperFirst returns a string representation of the value with the first character in UPPER CASE.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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