Myers Diff Myers-Diff的Golang实现,具体见Git是怎样生成diff的:Myers算法。 安装 go get -v github.com/fate-lovely/myers-diff 使用 myers-diff [src] [dst]