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
Is it possible to add a matcher per type and use it? Whenever I use decimal.Decimal from github.com/shopspring/decimal as a field in in one of my structs, my mocks fail because precision in the type.
If no, is there a way to extend gomock to match by specfic type in this case it is decimal.Decimal instead of writing a matcher for whole MyType struct
This is for extending go mock whenever it sees a ``decimal.Decimal` type, it uses the custom matcher given instead of writing a new matcher for whole struct
Activity