Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDefaultData ¶
func AddDefaultData(td *models.TemplateData, r *http.Request) *models.TemplateData
AddDefaultData: Adds data for all templates
func GetTemplateCache ¶
func RenderTemplate ¶
func RenderTemplate(w http.ResponseWriter, r *http.Request, tmpl string, data *models.TemplateData)
RenderTemplate: renders a template with the given data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.