Build constraints in generated files · Issue #190 · uber-go/mock

Requested feature The ability to specify build constraints to be added with //go:build <constraints> in the generated files. Why the feature is needed Generated mocks are intended for testing but a...</constraints>