SetOmitPackageDoc controls whether the generated code contains a package comment (if set to false, it will contain one)
(omit bool)
| 732 | |
| 733 | // SetOmitPackageDoc controls whether the generated code contains a package comment (if set to false, it will contain one) |
| 734 | func (r *Registry) SetOmitPackageDoc(omit bool) { |
| 735 | r.omitPackageDoc = omit |
| 736 | } |
| 737 | |
| 738 | // GetOmitPackageDoc returns whether a package comment will be omitted from the generated code |
| 739 | func (r *Registry) GetOmitPackageDoc() bool { |