github.com/mrk21/go-diff-fmt (go): Diff formatting library for Go. For example, it can format line based diff by github.com/sergi/go-diff to Unified format.
Keywords: diff|golang