proxy.golang.org : github.com/go-spectest/diff : v0.0.0-20231007001843-995a2ce67b2c
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.15.0
- github.com/google/go-cmp v0.5.9
- github.com/gookit/color v1.5.4
- github.com/mattn/go-colorable v0.1.13
- github.com/mattn/go-isatty v0.0.17
- github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778
- golang.org/x/sys v0.10.0