Documentation ¶
Index ¶
- type LangTmpl
- func (i18nTmpl *LangTmpl) GetI18nFuncMap(templateData map[string]interface{}) template.FuncMap
- func (i18nTmpl *LangTmpl) MustCompile(lang string, expr string, templateData map[string]interface{})
- func (i18nTmpl *LangTmpl) MustRender(wr io.Writer, ctx context)
- func (i18nTmpl *LangTmpl) Render(wr io.Writer, ctx context) error
- type MessageID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LangTmpl ¶
func (*LangTmpl) GetI18nFuncMap ¶
FuncMap: i18n, and other useful functions
func (*LangTmpl) MustCompile ¶
func (*LangTmpl) MustRender ¶
Click to show internal directories.
Click to hide internal directories.