Skip to content

Instantly share code, notes, and snippets.

@agileknight
agileknight / diff.go
Created November 11, 2015 18:43
golang formatting readable diff between two arbitrary types using console colors
package diff
import (
"bytes"
"fmt"
"github.com/davecgh/go-spew/spew"
"github.com/sergi/go-diff/diffmatchpatch"
)