Registry / utility / gonum-diff

gonum-diff

JSON →
library0.0.0-20181124234638-500114f11e71gogounverified

Package diff provides functions for computing differences between sequences.

go get github.com/gonum/diff
INSTALL
IMPORT
SIG · GONUM-DIFF
G
gonum-diff
utilitygov0.0.0-20181124234638-500114f11e71
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.

diff
github.com/gonum/diff

Compute the diff between two string slices.

package main import ( "fmt" "github.com/gonum/diff" ) func main() { a := []string{"a", "b", "c"} b := []string{"a", "c", "d"} edits := diff.Strings(a, b) fmt.Println(edits) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20181124234638-500114f11e71latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
gonum-diff — go get gonum-diff · libregistry