proxy.golang.org : github.com/mark-summerfield/go-diff : v1.0.2
Differ is a package for finding the differences between two sequences. Differ uses a sequence matcher based on a slightly simplified version of Python's difflib sequence matcher. Thanks to generics Differ can compare any two slices of comparables. (Although comparing float sequences is not recommended.) And using a key function it can also compare two slices of structs. See New for how to create a Differ value and NewKeyFn for how to create a DifferKeyFn value which can be used to compare sequences of structs. Deprecated: Use [Diff2](https://github.com/mark-summerfield/diff2) instead.
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/mark-summerfield/go-diff@v1.0.2
Published:
Indexed:
- github.com/mark-summerfield/gong v0.9.5
- github.com/mark-summerfield/gset v0.8.0
- golang.org/x/exp v0.0.0-20230307190834-24139beb5833