godebug icon indicating copy to clipboard operation
godebug copied to clipboard

Debugging helper utilities for Go

Results 4 godebug issues
Sort by recently updated
recently updated
newest added

This commit adds options to Diff and DiffChunks. The only option I've implemented is Transform, which is a function to modify lines before diffing. I find myself often having to...

cla: yes
breaking_change

I have a series of blobs to diff, each against the previous. The seed is an empty string. Diffing the first blob against that produces a diff with one "removed"...

breaking_change

Apart from [`fmt.Stringer`](https://golang.org/pkg/fmt/#Stringer), it would be good if [`fmt.GoStringer`](https://golang.org/pkg/fmt/#GoStringer) was supported I think `GoStringer` should (at least by default) have higher priority than `fmt.Stringer`

breaking_change

https://github.com/kylelemons/godebug/blob/e693023230a4a8be4e28c9bd02f467b0534ac08b/diff/diff.go#L37-L40 It seems if one input of Diff is empty, then the algorithm uses O(N^2) space, where N is the size of the other input. The result is I see...