golang / mock

GoMock is a mocking framework for the Go programming language.
Apache License 2.0
9.25k stars 608 forks source link

add automation script samples #674

Open mohammadne opened 1 year ago

mohammadne commented 1 year ago

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.

codyoss commented 1 year ago

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.