Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDefaultData ¶
func AddDefaultData(td *models.TemplateData) *models.TemplateData
AddDefaultData adds default data to template data
func CreateTemplateCache ¶
CreateTemplateCache creates a template cache as a map
func NewTemplate ¶
func RenderTemplate ¶
func RenderTemplate(w http.ResponseWriter, tmpl string, td *models.TemplateData)
RenderTemplate renders a template
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.