Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamedMultiRender ¶
type NamedMultiRender map[string]multiRender
NamedMultiRender 命名的多模板.
func (NamedMultiRender) AddFromFiles ¶
func (nr NamedMultiRender) AddFromFiles(tmplname string, files ...string) *template.Template
AddFromFiles 根据模板文件创建模板对象.
func (NamedMultiRender) AddFromFilesByNamed ¶
func (nr NamedMultiRender) AddFromFilesByNamed( tmplname, definedname string, files ...string) *template.Template
AddFromFilesByNamed 根据模板文件创建模板对象.
Click to show internal directories.
Click to hide internal directories.