proxy.golang.org : github.com/go-spectest/diff : v0.0.0-20231006143314-ce490574d4a9
Package diff is a partial port of Python difflib module. It provides tools to compare sequences of strings and generate textual diffs. The following class and functions have been ported: - SequenceMatcher - unified_diff - context_diff Getting unified diffs was the main goal of the port. Keep in mind this code is mostly suitable to output text differences in a human friendly way, there are no guarantees generated diffs are consumable by patch(1).
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/go-spectest/[email protected]
Published:
Indexed:
- github.com/google/go-cmp v0.5.9