uber-go / mock

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

Add flag to disable recording command invocation #137

Open pjjw opened 6 months ago

pjjw commented 6 months ago

When generating mocks with bazel, this feature ends up encoding temporary output directories into the mock which can defeat caching. This adds a flag to disable this behavior, leaving it on by default.