Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Templates map[string]map[string]*template.Template
Templates holds all the html templates that are used for sending e.g. emails the first key is the language, the second the name for the template
Functions ¶
func RenderTemplateToString ¶
func RenderTemplateToString(uc *mw.AdminContext, c *gin.Context, templateName string, langCode string, data interface{}) string
RenderTemplateToString renders the given template to a string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.