go-udiff

µDiff - a micro Go diffing library

BSD-3-CLAUSE License

Stars
161
go-udiff - v0.2.0 Latest Release

Published by aymanbagabas 10 months ago

Context Lines, Breaking Change!

µDiff now supports specifying surrounding context lines of the generated diff. Both udiff.ToUnifiedDiff and udiff.ToUnified now take a new argument to specify the number of context lines. You can use udiff.DefaultContextLines as a default value.

Full Changelog: https://github.com/aymanbagabas/go-udiff/compare/v0.1.3...v0.2.0

go-udiff - v0.1.3

Published by aymanbagabas over 1 year ago

Fix strange unified diff https://github.com/golang/go/issues/60379

What's Changed

Full Changelog: https://github.com/aymanbagabas/go-udiff/compare/v0.1.2...v0.1.3

go-udiff - v0.1.2

Published by aymanbagabas over 1 year ago

What's Changed

Full Changelog: https://github.com/aymanbagabas/go-udiff/compare/v0.1.1...v0.1.2

go-udiff - v0.1.1

Published by aymanbagabas over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/aymanbagabas/go-udiff/compare/v0.1.0...v0.1.1

go-udiff - First release

Published by aymanbagabas over 1 year ago

Package Rankings
Top 1.24% on Proxy.golang.org