cmd/cloner: delete some debug code

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
This commit is contained in:
Josh Bleecher Snyder 2021-09-16 16:13:02 -07:00 committed by Josh Bleecher Snyder
parent 081be3e96b
commit 367a973dc2

View File

@ -65,10 +65,6 @@ func main() {
for _, typeName := range typeNames { for _, typeName := range typeNames {
found := false found := false
for _, file := range pkg.Syntax { for _, file := range pkg.Syntax {
//var fbuf bytes.Buffer
//ast.Fprint(&fbuf, pkg.Fset, file, nil)
//fmt.Println(fbuf.String())
for _, d := range file.Decls { for _, d := range file.Decls {
decl, ok := d.(*ast.GenDecl) decl, ok := d.(*ast.GenDecl)
if !ok || decl.Tok != token.TYPE { if !ok || decl.Tok != token.TYPE {