Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: get map diff #49

Closed
wants to merge 2 commits into from
Closed

feat: get map diff #49

wants to merge 2 commits into from

Conversation

uptutu
Copy link
Contributor

@uptutu uptutu commented Jun 18, 2022

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: #48

@uptutu
Copy link
Contributor Author

uptutu commented Jun 18, 2022

#48

@inhere inhere self-assigned this Jun 20, 2022
@inhere inhere closed this Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[proposal] maputil add func diff(amap, bmap) return difference fields
2 participants