proxy.golang.org : github.com/mark-summerfield/diff2
Diff2 is a package for finding the differences between two sequences. Diff2 uses a sequence matcher based on a slightly simplified version of Python's difflib sequence matcher. Thanks to generics Diff2 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 Diff value and NewKeyFn for how to create a DiffKeyFn value which can be used to compare sequences of structs.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/mark-summerfield/diff2
License: Apache-2.0
Latest release: over 1 year ago
First release: 6 months ago
Namespace: github.com/mark-summerfield
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 4 days ago