r3labs / diff

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

Add arrays to diff #66

Closed FarhanSajid1 closed 3 years ago

FarhanSajid1 commented 3 years ago

Arrays seem to be unsupported when running diffs, adding this logic in works as expected. I added some tests and they seem to pass. Please let me know if there is something that I'm missing.

Relates to https://github.com/r3labs/diff/issues/51

purehyperbole commented 3 years ago

Hey @FarhanSajid1

Thanks for creating the PR! I'll merge this and create a new release :smile: