proxy.golang.org : github.com/go-spectest/diff : v0.0.1
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/fatih/color v1.16.0
- github.com/google/go-cmp v0.6.0
- github.com/mattn/go-colorable v0.1.13
- github.com/mattn/go-isatty v0.0.20
- golang.org/x/sys v0.14.0