Versions in this module Expand all Collapse all v0 v0.3.0 Mar 2, 2020 v0.2.0 Jun 8, 2019 Changes in this version + var HTMLContentType = []string v0.1.0 Apr 16, 2019 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 *ViewEngine) + type Config struct + Delims Delims + DisableCache bool + Extension string + Funcs template.FuncMap + Master string + Partials []string + Root string + type Delims struct + Left string + Right string + type FileHandler func(config Config, tplFile string) (content string, err error) + func DefaultFileHandler() FileHandler + type M map[string]interface + type ViewEngine struct + func Default() *ViewEngine + func New(config Config) *ViewEngine + func (e *ViewEngine) Render(w http.ResponseWriter, statusCode int, name string, data interface{}) error + func (e *ViewEngine) RenderWriter(w io.Writer, name string, data interface{}) error + func (e *ViewEngine) SetFileHandler(handle FileHandler)