Versions in this module Expand all Collapse all v2 v2.1.0 Jan 2, 2026 Changes in this version + func ReadFile(path string, fs http.FileSystem) ([]byte, error) + func Walk(fs http.FileSystem, directory string, ...) error v2.0.0 Nov 19, 2025 Changes in this version + func AcquireViewContext(binding interface{}) map[string]interface + type Engine struct + Directory string + Extension string + FileSystem http.FileSystem + Funcmap map[string]interface{} + LayoutName string + Left string + Loaded bool + Mutex sync.RWMutex + Right string + ShouldReload bool + Verbose bool + func (e *Engine) AddFunc(name string, fn interface{}) IEngineCore + func (e *Engine) AddFuncMap(m map[string]interface{}) IEngineCore + func (e *Engine) Debug(enabled bool) IEngineCore + func (e *Engine) Delims(left, right string) IEngineCore + func (e *Engine) FuncMap() map[string]interface{} + func (e *Engine) Layout(key string) IEngineCore + func (e *Engine) PreRenderCheck() bool + func (e *Engine) Reload(enabled bool) IEngineCore + type IEngine interface + Load func() error + Render func(out io.Writer, template string, binding interface{}, layout ...string) error + type IEngineCore interface + AddFunc func(name string, fn interface{}) IEngineCore + AddFuncMap func(m map[string]interface{}) IEngineCore + Debug func(enabled bool) IEngineCore + Delims func(left, right string) IEngineCore + FuncMap func() map[string]interface{} + Layout func(key string) IEngineCore + PreRenderCheck func() bool + Reload func(enabled bool) IEngineCore Other modules containing this package github.com/gofiber/template