Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeneratedFile ¶
type GeneratedFiles ¶
type GeneratedFiles []*GeneratedFile
GeneratedFiles represents a collection of files due to be generated as part of code generation You can append any number of files to an instance of GeneratedFiles like so: files := GeneratedFiles{} files = append(files, &GeneratedFile{...}) And then once you are ready to write these files to disk, you can call write: files.Write(dir)
func (GeneratedFiles) Write ¶
func (files GeneratedFiles) Write(dir string) error
Click to show internal directories.
Click to hide internal directories.