Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // SupportedFileTypes provides list of file extensions supported for data files SupportedFileTypes = []string{".json", ".yaml", ".yml"} )
Functions ¶
func Generate ¶
func Generate(inputTemplate, outfile string, sources *DataSources) error
Generate file using the specified template file and input data to the specified file location.
Types ¶
type DataSources ¶
DataSources specifies different sources of data
Click to show internal directories.
Click to hide internal directories.