golang/mock

add automation script samples

mohammadne opened this issue · 1 comments

I would like to share my experience for working with mockgen.

In my project I have several files that I would like to generate mocks and thus I have created a bash script to automate the operation.

I think most of the users face similar scenario so I have created some common scripts for that.

before creating a pull request, I would like to hear about your idea and if you are ok with that, then I'll create one for that in sample section.

thanks.

Could you elaborate your ideas more here? The biggest pattern I have used, and seen others, is making use of go generate directives in code.