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

Specify excluded path(s) #83

Open
stouf opened this issue Sep 27, 2022 · 3 comments
Open

Specify excluded path(s) #83

stouf opened this issue Sep 27, 2022 · 3 comments

Comments

@stouf
Copy link

stouf commented Sep 27, 2022

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 by gomockhandler and therefore, gomockhandler check complains about it. Given that those files come from outside of my project, I don't think having gomockhandler managing them would be a good idea.

@stouf
Copy link
Author

stouf commented Sep 27, 2022

@sanposhiho Thank you for #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?

@sanposhiho
Copy link
Owner

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.

@stouf
Copy link
Author

stouf commented Sep 27, 2022

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 👍🙂

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

2 participants