package
Version:
v0.0.0-...-7995a24
Opens a new window with list of versions in this module.
Published: Aug 27, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func RenderToFile(filePath string, override, ignoreExist bool,
templateName, templateContent string, content interface{}) error
RenderToFile render templates to file
type FileTemplate interface {
RenderFile(filePath string) error
}
FileTemplate defines the interface every template should implement
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.