bazel-contrib / rules_go

Go rules for Bazel
Apache License 2.0
1.38k stars 656 forks source link

gomock: allow passing extra flags to mockgen_tool #4066

Closed TvdW closed 1 month ago

TvdW commented 1 month ago

What type of PR is this?

Feature

What does this PR do? Why is it needed?

Adds the ability to pass extra arguments to gomock

Which issues(s) does this PR fix?

Fixes #4065 Closes #4067

Other notes for review

4067 is another way to do it, but I think accepting an argument list is cleaner

google-cla[bot] commented 1 month ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

TvdW commented 1 month ago

Sure, done!