Remove debug code

This commit is contained in:
Lea Anthony
2021-04-04 05:25:21 +10:00
parent 2e01710412
commit be43049fc6

View File

@@ -5,7 +5,6 @@ import (
"go/ast"
"strings"
"github.com/davecgh/go-spew/spew"
"github.com/fatih/structtag"
)
@@ -225,7 +224,6 @@ func (p *Parser) parseField(file *ast.File, field *ast.Field, pkg *Package) ([]*
}
default:
spew.Dump(t)
return nil, fmt.Errorf("unsupported field found in struct: %+v", t)
}