Open stouf opened 1 year ago
@sanposhiho Thank you for https://github.com/sanposhiho/gomockhandler/pull/84 ❤️ This solves the case I mentioned as example above 🎉
What do you want to do with this issue? Do you think this feature would make sense now that vendor code is automatically ignored?
I think it's nice-to-have feature because some users may want to ignore particular directories for some reasons. Let's keep it open.
I think it's nice-to-have feature because some users may want to ignore particular directories for some reasons. Let's keep it open.
I agree with you 👍🙂
Being able to specify paths ignored by
gomockhandler
could be useful.For example, one of my projects has a
vendor
folder where code from an external repository is being stored. In that folder, there are mock files. Those are not managed bygomockhandler
and therefore,gomockhandler check
complains about it. Given that those files come from outside of my project, I don't think havinggomockhandler
managing them would be a good idea.