Remove spurious print (#300)

This commit is contained in:
Zik
2020-08-10 12:17:50 +03:00
committed by GitHub
parent acfb3d3a61
commit 853c4976cc
-1
View File
@@ -299,7 +299,6 @@ func (g *Generator) genTypeDecoderNoCheck(t reflect.Type, out string, tags field
fmt.Fprintln(g.out, ws+"}")
case reflect.Interface:
fmt.Printf("//%v: %v", out, g.interfaceIsEasyjsonUnmarshaller(t))
if t.NumMethod() != 0 {
if g.interfaceIsEasyjsonUnmarshaller(t) {
fmt.Fprintln(g.out, ws+out+".UnmarshalEasyJSON(in)")