IncludeGenerateWithPrefix will include a prefix to all output generated types.
(directory string, prefix string)
| 144 | |
| 145 | // IncludeGenerateWithPrefix will include a prefix to all output generated types. |
| 146 | func (p *GoParser) IncludeGenerateWithPrefix(directory string, prefix string) error { |
| 147 | return p.include(directory, prefix, false) |
| 148 | } |
| 149 | |
| 150 | // IncludeReference only generates types if they are referenced from the generated packages. |
| 151 | // This is useful for only generating a subset of the types that are being used. |