Documentation
¶
Index ¶
- func Parse(input string, data interface{}, target io.Writer, funcMaps template.FuncMap, ...) error
- func ParseTemplateFile(filePath string, data interface{}, funcMaps template.FuncMap, result io.Writer) error
- func ParseTemplateText(text string, data interface{}, funcMaps template.FuncMap, result io.Writer) error
- type ParserTemplateFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parse ¶
func Parse(input string, data interface{}, target io.Writer, funcMaps template.FuncMap, f ParserTemplateFunc) error
Parse will parse specific input file to io.Writer you can put anything to target parameter, as long as target is io.Writer implementation
Types ¶
Click to show internal directories.
Click to hide internal directories.