goutil icon indicating copy to clipboard operation
goutil copied to clipboard

feat: get map diff

Open uptutu opened this issue 2 years ago • 1 comments

Diff get a map record the difference between the two maps.

The calculation is based on a map change to b map if deleted some field in a map then the field will be returned in result field same key but is nil value.

 a map {"a":"a","b":"b"}
 b map {"b":"b","c":"c"}
 return map {"a":nil,"c":"c"}

close: https://github.com/gookit/goutil/issues/48

uptutu avatar Jun 18 '22 02:06 uptutu

#48

uptutu avatar Jun 18 '22 02:06 uptutu