atombender / go-diff

Go library for line-based diffing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-diff

Example:

hunks := diff.Diff(
  []string{"aaa", "bbb", "aaa", "ccc", "xxx"},
  []string{"aaa", "ccc", "ddd", "ccc", "zzz"},
)

About

Go library for line-based diffing.

License:MIT License


Languages

Language:Go 100.0%