Registry / utility / aryann-difflib

aryann-difflib

JSON →
library0.0.0-20210328193216-ff5ff6dc229bgogounverified

difflib provides functionality for computing the difference between two sequences of strings.

go get github.com/aryann/difflib
INSTALL
IMPORT
SIG · ARYANN-DIFFLIB
A
aryann-difflib
utilitygov0.0.0-20210328193216-ff5ff6dc229b
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

difflib
github.com/aryann/difflib

Compute and print differences between two string slices

package main import ( "fmt" "github.com/aryann/difflib" ) func main() { diffs := difflib.Diff([]string{"a", "b"}, []string{"a", "c"}) for _, d := range diffs { fmt.Println(d) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20210328193216-ff5ff6dc229blatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
OpenAI (training)
2
Amazon
1
Resources
aryann-difflib — go get aryann-difflib · libregistry