ifacemaker icon indicating copy to clipboard operation
ifacemaker copied to clipboard

Add ability to exclude and include methods

Open efirs opened this issue 6 years ago • 3 comments

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.

efirs avatar Oct 15 '19 19:10 efirs

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.

vburenin avatar Oct 15 '19 21:10 vburenin

@efirs check this mr #58

kazhuravlev avatar Dec 07 '22 13:12 kazhuravlev

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

risicle avatar Aug 09 '23 16:08 risicle