sergi / go-diff

Diff, match and patch text in Go
MIT License
1.81k stars 207 forks source link

Export diff slice in patch struct #94

Open ObviouslyGreen opened 6 years ago

ObviouslyGreen commented 6 years ago

https://github.com/sergi/go-diff/issues/79 exported some fields, but not the diffs. Looks like the c++ and java versions of diff google-diff-match-patch have it as a public field and would be useful info to have (i.e. filter diffs of a patch by operation)