IncludeGenerate parses a directory and adds the parsed package to the list of packages. These package's types will be generated.
(directory string)
| 139 | // IncludeGenerate parses a directory and adds the parsed package to the list of packages. |
| 140 | // These package's types will be generated. |
| 141 | func (p *GoParser) IncludeGenerate(directory string) error { |
| 142 | return p.include(directory, "", false) |
| 143 | } |
| 144 | |
| 145 | // IncludeGenerateWithPrefix will include a prefix to all output generated types. |
| 146 | func (p *GoParser) IncludeGenerateWithPrefix(directory string, prefix string) error { |