Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ViewConfig ¶
type ViewConfig struct { ViewDir string Extension string Box *pongo2.TemplateSet }
type ViewEngine ¶
type ViewEngine struct {
Config ViewConfig
}
func Default ¶
func Default() *ViewEngine
func New ¶
func New(config ViewConfig) *ViewEngine
func (*ViewEngine) ExecuteWriter ¶
func (r *ViewEngine) ExecuteWriter(writer io.Writer, filename string, bindingData interface{}) error
func (*ViewEngine) Ext ¶
func (e *ViewEngine) Ext() string
func (*ViewEngine) GetViewDir ¶
func (e *ViewEngine) GetViewDir() string
func (*ViewEngine) Name ¶
func (e *ViewEngine) Name() string
func (*ViewEngine) SetViewDir ¶
func (e *ViewEngine) SetViewDir(viewDir string)
Click to show internal directories.
Click to hide internal directories.