ExcludeCustom flags golang types to not be generated in the Typescript output.
(fqnames ...string)
| 130 | |
| 131 | // ExcludeCustom flags golang types to not be generated in the Typescript output. |
| 132 | func (p *GoParser) ExcludeCustom(fqnames ...string) error { |
| 133 | for _, fqname := range fqnames { |
| 134 | p.Skips[fqname] = struct{}{} |
| 135 | } |
| 136 | return nil |
| 137 | } |
| 138 | |
| 139 | // IncludeGenerate parses a directory and adds the parsed package to the list of packages. |
| 140 | // These package's types will be generated. |
no outgoing calls