-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add NoSynopsis option to AddGoComments #67
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Glenn Lewis <[email protected]>
Looks good @gmlewis from the outset, but it needs some tests! |
Signed-off-by: Glenn Lewis <[email protected]>
Sorry for the delay. I added tests. PTAL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few people are trying to deal with this, so I appreciate its important. A think a simpler approach without the configuration helpers methods would be best at the moment.
// ExtractGoCommentsOption represents an option that can be passed to ExtractGoComments | ||
// in order to modify its behavior. | ||
type ExtractGoCommentsOption func(e *extractOptions) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do like this approach for option handling! But I think at the moment it is too inconsistent with the current approach (unfortunately). I have a plan in mind to refactor all configuration towards config methods.
There are any news about this PR? I'm looking for this feature also |
If I'm not mistaken, I'm waiting for the following to happen, correct?
Or is there something I'm supposed to do to this PR in the meantime? |
Fixes: #66.