Documentation ¶
Index ¶
- Variables
- func Add(add int, initial int) int
- func DateFormat(date string, args ...string) string
- func FindRe(pattern string, input string) string
- func FindSubRe(pattern string, input string) []string
- func FloatToInt(n float64) int
- func InchesToFeet(inches interface{}) (string, error)
- func Markdown(s string) string
- func Marshal(d interface{}) string
- func MatchRe(pattern string, input string) bool
- func MinifyCode(mimetype string, code string) (string, error)
- func Replace(from, to, input string) string
- func ReplaceRe(pattern string, to string, input string) string
- func Subtract(sub int, initial int) int
- func ToLower(s string) string
- func ToUpper(s string) string
- func Trim(cutset string, s string) string
- func Unescape(s string) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var FuncMap = template.FuncMap{ "add": Add, "dateFormat": DateFormat, "findRe": FindRe, "findSubRe": FindSubRe, "floatToInt": FloatToInt, "inchesToFeet": InchesToFeet, "lower": ToLower, "minify": MinifyCode, "markdown": Markdown, "marshal": Marshal, "matchRe": MatchRe, "replace": Replace, "replaceRe": ReplaceRe, "subtract": Subtract, "trim": Trim, "unescape": Unescape, "upper": ToUpper, }
Functions ¶
func DateFormat ¶
func FloatToInt ¶
func InchesToFeet ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.