Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct { core.Engine // templates Templates map[string]*mustache.Template // contains filtered or unexported fields }
Engine struct
func NewFileSystem ¶
func NewFileSystem(fs http.FileSystem, extension string) *Engine
NewFileSystem returns a Mustache render engine for Fiber that supports embedded files
func NewFileSystemPartials ¶
func NewFileSystemPartials(fs http.FileSystem, extension string, partialsFS http.FileSystem) *Engine
NewFileSystemPartials returns a Handlebar render engine for Fiber that supports embedded files
Click to show internal directories.
Click to hide internal directories.