Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TemplateParser ¶
type TemplateParser interface { // CheckTemplate 检查模板变量 CheckTemplate(keys []string, template string) error // RenderTemplate 渲染模板 RenderTemplate(bvs []*entity.BusinessValue, rvs []*entity.ResourceValue, format string, content string) (string, error) }
func NewTemplateParser ¶
func NewTemplateParser() TemplateParser
type TemplateValue ¶
Click to show internal directories.
Click to hide internal directories.