r3labs / diff

A library for diffing golang structures
Mozilla Public License 2.0
895 stars 84 forks source link

fix comparing of slice of structure #82

Closed XIELongDragon closed 2 years ago

XIELongDragon commented 2 years ago

fix if the structure contains a slice inside, but the items in the internal slice are not in the same order giving the wrong result

purehyperbole commented 2 years ago

Hey @XIELongDragon

Thanks for submitting this fix! Looks good, so I will merge it and create a new release