Documentation ¶
Index ¶
- type Engine
- func (e *Engine) Layout(out io.Writer, name string, binding interface{}, content ...map[string]string) error
- func (e *Engine) Load() error
- func (e *Engine) Render(out io.Writer, name string, binding interface{}, layout ...string) error
- func (e *Engine) Widget(out io.Writer, name string, binding interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
func NewFileSystem ¶
func NewFileSystem(fs http.FileSystem) (*Engine, error)
NewFileSystem returns a HTML render engine for Fiber with file system
func (*Engine) Layout ¶
func (e *Engine) Layout(out io.Writer, name string, binding interface{}, content ...map[string]string) error
Layout will Render a layout.
Click to show internal directories.
Click to hide internal directories.