Add support for non-comparable types #1

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@paulhammond
Contributor

This pull request adds support for non-comparable types, such as maps and slices, using the reflect.DeepEqual function. This in turn "uses normal == equality where possible" so this shouldn't cause any problems.

@cee-dub
Contributor
cee-dub commented Mar 3, 2014

Thanks! I'm going to add a more complex example in the readme package to see how this plays out when deep-comparing more complex objects. If that looks nice, I'll go ahead and merge this.

@cee-dub
Contributor
cee-dub commented Mar 3, 2014

Merged by hand with README updates.

@cee-dub cee-dub closed this Mar 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment