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
Under the hood, funk requires the same types so that it can call reflect.DeepEqual to check for equality. It would be nice to be able to pass in a custom comparison method such that it could for example know how to compare different types, or know which fields to ignore when making a comparison for certain types.
The text was updated successfully, but these errors were encountered:
thoas
changed the title
[feature request] Accept comparison function to contains/difference/etc.
Accept comparison function to contains/difference/etc.
Dec 26, 2022
Under the hood, funk requires the same types so that it can call reflect.DeepEqual to check for equality. It would be nice to be able to pass in a custom comparison method such that it could for example know how to compare different types, or know which fields to ignore when making a comparison for certain types.
The text was updated successfully, but these errors were encountered: