You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently usingmatryer/moq in conjunction with //go:generate and Makefile. The generated files don't have the //go:build test annotation, so they end up in the application executable, which is not necessary. As far as I can tell, matryer/moq doesn't have a setting to fix this. We might consider mockery, which looks more flexible and is also centrally configurable via yaml-config.
The text was updated successfully, but these errors were encountered:
We are currently using
matryer/moq
in conjunction with//go:generate
and Makefile. The generated files don't have the//go:build test
annotation, so they end up in the application executable, which is not necessary. As far as I can tell,matryer/moq
doesn't have a setting to fix this. We might consider mockery, which looks more flexible and is also centrally configurable via yaml-config.The text was updated successfully, but these errors were encountered: