Documentation ¶
Index ¶
- func CheckAllTranslationsParsable(tempTranslations []messagingTypes.LocalizedTemplate, messageType string) error
- func GetTemplateTranslation(translations []messagingTypes.LocalizedTemplate, lang string, ...) messagingTypes.LocalizedTemplate
- func ResolveTemplate(tempName string, templateDef string, contentInfos map[string]string) (content string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAllTranslationsParsable ¶
func CheckAllTranslationsParsable(tempTranslations []messagingTypes.LocalizedTemplate, messageType string) error
func GetTemplateTranslation ¶
func GetTemplateTranslation(translations []messagingTypes.LocalizedTemplate, lang string, defaultLang string) messagingTypes.LocalizedTemplate
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.