Registry / utility / gkampitakis-go-diff

gkampitakis-go-diff

JSON →
library1.3.2gogounverified

A Go library for computing and displaying diffs between strings or byte slices.

go get github.com/gkampitakis/go-diff
INSTALL
IMPORT
SIG · GKAMPITAKIS-GO-DIF
G
gkampitakis-go-diff
utilitygov1.3.2
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.

godiff
github.com/gkampitakis/go-diff

Computes and prints the diff between two strings.

package main import ( "fmt" "github.com/gkampitakis/go-diff" ) func main() { diff := godiff.Diff("hello world", "hello go") fmt.Println(diff) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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