As you can read by the PR title, I added a flag (false by default) that allows mockgen to add the go:generate instruction as part of the generated file.
This is something I was looking to see supported, and I finally had some time to add this tiny feature.
It would save a lot of time, and it is similar to what other tools already (gowrap for example).
As you can read by the PR title, I added a flag (false by default) that allows mockgen to add the go:generate instruction as part of the generated file.
This is something I was looking to see supported, and I finally had some time to add this tiny feature. It would save a lot of time, and it is similar to what other tools already (gowrap for example).
Resolves: #45