This pull request introduces a new feature to the Goverter library: the -commentOnStruct flag. This feature allows users to add comments above generated structs, which can be especially useful when working with other code generation tools like Autowire.
Changes Made
I have introduced a new command-line flag, -commentOnStruct, which, when enabled, will add a comment above each generated struct. These comments can provide valuable information about the struct's purpose, source, or usage.
What I did.
This pull request introduces a new feature to the Goverter library: the -commentOnStruct flag. This feature allows users to add comments above generated structs, which can be especially useful when working with other code generation tools like Autowire.
Changes Made
I have introduced a new command-line flag, -commentOnStruct, which, when enabled, will add a comment above each generated struct. These comments can provide valuable information about the struct's purpose, source, or usage.
Example Usage
result