Documentation ¶ Index ¶ func Generate(outputScriptPath string, imports []string, funcs []finder.FunctionToCall, ...) error func RunTemplFmt(files []string, done chan<- struct{}) error func RunTemplGenerate(done chan<- struct{}) error type InputData type StringedData Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Generate ¶ func Generate(outputScriptPath string, imports []string, funcs []finder.FunctionToCall, inputDir string, outputDir string) error func RunTemplFmt ¶ func RunTemplFmt(files []string, done chan<- struct{}) error Run the fmt command func RunTemplGenerate ¶ func RunTemplGenerate(done chan<- struct{}) error Run the generate command Types ¶ type InputData ¶ type InputData struct { Imports []string FilesToGenerate []StringedData } type StringedData ¶ type StringedData struct { FuncToCall string FilePath string PackageName string } Source Files ¶ View all Source files generator.go Click to show internal directories. Click to hide internal directories.