Versions in this module Expand all Collapse all v1 v1.0.0 Dec 24, 2022 Changes in this version + var DefaultConfig = Config + var HTMLContentType = []string + func Render(w http.ResponseWriter, status int, name string, data interface{}) error + func Use(engine *Engine) + type Config struct + Delimiters Delimiters + DisableCache bool + Extension string + Funcs template.FuncMap + Master string + Partials []string + Root string + type Delimiters struct + Left string + Right string + type Engine struct + func Default() *Engine + func New(config Config) *Engine + func (e *Engine) Render(w http.ResponseWriter, statusCode int, name string, data interface{}) error + func (e *Engine) RenderWriter(w io.Writer, name string, data interface{}) error + func (e *Engine) SetFileHandler(handle FileHandler) + type FileHandler func(config Config, tplFile string) (content string, err error) + func DefaultFileHandler() FileHandler + type M map[string]interface