Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct { Config *config.Template Templates *template.Template // Middleware // Note: // I see that many template engines returns html/template as result // so I decided that the HTMLTemplate should accept a middleware for the final string content will be parsed to the main *html/template.Template // for example user of this property is Jade, currently Middleware func(string, string) (string, error) }
func (*Engine) BuildTemplates ¶
Click to show internal directories.
Click to hide internal directories.