PreserveComments will attempt to preserve any comments associated with the golang types. This feature is still a work in progress, and may not preserve all comments or match all expectations.
()
| 85 | // the golang types. This feature is still a work in progress, and may not |
| 86 | // preserve all comments or match all expectations. |
| 87 | func (p *GoParser) PreserveComments() *GoParser { |
| 88 | p.preserveComments = true |
| 89 | return p |
| 90 | } |
| 91 | |
| 92 | // IncludeCustomDeclaration is an advanced form of IncludeCustom. |
| 93 | func (p *GoParser) IncludeCustomDeclaration(mappings map[string]TypeOverride) { |
no outgoing calls