Skip to content
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 ability to exclude and include methods #40

Open
efirs opened this issue Oct 15, 2019 · 3 comments
Open

Add ability to exclude and include methods #40

efirs opened this issue Oct 15, 2019 · 3 comments

Comments

@efirs
Copy link

efirs commented Oct 15, 2019

It would be useful to allow to exclude some methods of the original struct from generated interface or have only explicitly specified methods be included in the the interface.

@vburenin
Copy link
Owner

vburenin commented Oct 15, 2019

I am not sure you want to include something specifically as at that point generation of interfaces makes little to no sense. However, excluding something maybe reasonable for some cases. Feel free to contribute this change, it should be relatively trivial.

@kazhuravlev
Copy link
Contributor

@efirs check this mr #58

@risicle
Copy link

risicle commented Aug 9, 2023

Including methods is still worthwhile especially when the methods have long and verbose call signatures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants