commit | 8fb778d21b15745996aef862bf7523d7867b03c1 | [log] [tgz] |
---|---|---|
author | Dominik Honnef <dominik@honnef.co> | Thu Jul 07 21:22:42 2016 |
committer | Keith Rarick <kr@xph.us> | Thu Jul 07 21:22:42 2016 |
tree | 7a89e688d5eb7dcf2b8f7034381b989db7a6110c | |
parent | c49dea8a01a44a81bc4a764d6d986ebe21735bf9 [diff] |
Remove unused code (#29)
diff --git a/formatter.go b/formatter.go index dff7cb3..5efaa94 100644 --- a/formatter.go +++ b/formatter.go
@@ -10,10 +10,6 @@ "github.com/kr/text" ) -const ( - limit = 50 -) - type formatter struct { v reflect.Value force bool @@ -319,11 +315,6 @@ io.WriteString(p, s) } -func tryDeepEqual(a, b interface{}) bool { - defer func() { recover() }() - return reflect.DeepEqual(a, b) -} - func writeByte(w io.Writer, b byte) { w.Write([]byte{b}) }