template

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Functions = template.FuncMap{
	"lower":        jsonLower,
	"lowercase":    jsonLower,
	"uppercase":    jsonUpper,
	"upper":        jsonUpper,
	"title":        jsonTitle,
	"sprintf":      fmt.Sprintf,
	"printf":       fmt.Sprintf,
	"trim":         jsonTrimSpace,
	"trimPrefix":   jsonTrimPrefix,
	"trimSuffix":   jsonTrimSuffix,
	"default":      fnDefault,
	"sha1sum":      sha1sum,
	"sha256sum":    sha256sum,
	"str":          strJSON,
	"required":     jsonRequired,
	"env":          env,
	"replace":      jsonReplace,
	"alphanumify":  jsonAlphanumify,
	"alphanumdash": jsonAlphanumdash,
	"dottodash":    jsonDotToDash,
	"dottounder":   jsonDotToUnder,
	"index":        mapValueByIndex,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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