Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTemplate = errors.New("template can't be nil") ErrName = errors.New("template must have a name") )
View Source
var ( FuncMap = types.Map{ "html": func(v string) template.HTML { return template.HTML(v) }, "js": func(v interface{}) template.JS { encoded, _ := json.Marshal(v) return template.JS(encoded) }, "sub": func(y, x int) int { return x - y }, "ToLower": strings.ToLower, "ToUpper": strings.ToUpper, "Int": convert.Int, "String": convert.String, } )
Functions ¶
Types ¶
type EchoRenderer ¶
Click to show internal directories.
Click to hide internal directories.