Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessTemplFile ¶
func ProcessTemplFile(templatePath, destPath string, funcMap template.FuncMap, data interface{}) error
ProcessTemplFile processes a template file with the provided data and writes the output to the destination file. It returns an error if any of the operations fail. The function map is used to define custom functions that can be called from the template.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.