testify icon indicating copy to clipboard operation
testify copied to clipboard

Find an alternative for go-difflib

Open tbankar opened this issue 3 years ago • 6 comments

As github.com/pmezard/go-difflib is no longer maintained (EOLed), kindly find an alternative.

tbankar avatar Feb 22 '22 06:02 tbankar

Indeed, can this be prioritized?

MaxCaresYww avatar Apr 29 '22 05:04 MaxCaresYww

@MaxCaresYww What replacement do you suggest?

dolmen avatar Jul 25 '23 04:07 dolmen

@dolmen
Can we replace with https://github.com/martinohmann/go-difflib ?

bmv126 avatar Nov 12 '23 06:11 bmv126

Any replacement suggestion must at least say why this would be a good candidate.

dolmen avatar Nov 13 '23 23:11 dolmen

https://github.com/stretchr/testify/issues/1479 mentioned using go-diff which has seen adoption in popular libraries like go-git.

However, go-diff seems not very well maintained itself in recent years and the introduction of bugs has had some people sticking with v.1.1.0 until only very recently.

tscales avatar Nov 17 '23 04:11 tscales