Versions in this module Expand all Collapse all v3 v3.1.0 Jun 11, 2019 v3.0.0 Jun 10, 2019 Changes in this version + type GoLayout struct + func (l *GoLayout) LoadLayoutFile(fileName string) error + func (l *GoLayout) LoadLayoutString(contents []byte) error + func (l *GoLayout) RenderViewFile(fileName string, context interface{}) (string, error) + func (l *GoLayout) RenderViewFilef(ctx echo.Context, fileName string, context interface{}) error + func (l *GoLayout) RenderViewString(contents []byte, context interface{}) (string, error) + func (l *GoLayout) RenderViewStringf(ctx echo.Context, contents []byte, context interface{}) error + type ILayout interface + LoadLayoutFile func(fileName string) error + LoadLayoutString func(contents []byte) error + RenderViewFile func(fileName string, context interface{}) (string, error) + RenderViewFilef func(ctx echo.Context, fileName string, context interface{}) error + RenderViewString func(contents []byte, context interface{}) (string, error) + RenderViewStringf func(ctx echo.Context, contents []byte, context interface{}) error + func NewGoLayoutFromFile(fileName string) (ILayout, error) + func NewGoLayoutFromString(layout []byte) (ILayout, error) + func NewMustacheLayoutFromFile(fileName string) (ILayout, error) + func NewMustacheLayoutFromString(layout []byte) (ILayout, error) + type MustacheLayout struct + func (l *MustacheLayout) LoadLayoutFile(fileName string) error + func (l *MustacheLayout) LoadLayoutString(contents []byte) error + func (l *MustacheLayout) RenderViewFile(fileName string, context interface{}) (string, error) + func (l *MustacheLayout) RenderViewFilef(ctx echo.Context, fileName string, context interface{}) error + func (l *MustacheLayout) RenderViewString(contents []byte, context interface{}) (string, error) + func (l *MustacheLayout) RenderViewStringf(ctx echo.Context, contents []byte, context interface{}) error