Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDefaultData ¶
func AddDefaultData(td *models.TemplateData) *models.TemplateData
func CreateTemplateCache ¶
CreateTemplateCache create a template cache
func NewTemplate ¶
NewTemplate sets the config for the template package
func RendererTemplate ¶
func RendererTemplate(w http.ResponseWriter, tmpl string, td *models.TemplateData)
RendererTemplate renders template using html/template
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.