Skip to content

Commit

Permalink
remove strange printer
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Jul 9, 2020
1 parent 3707337 commit 53d2e63
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions generate-objects.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
package artisan

import (
"fmt"
"reflect"
)

func GenerateObjects(
g GenTreeNode, ts []FuncTmplFac, c TmplCtx) (
objs []ObjTmpl, funcs []FuncTmpl) {
Expand Down Expand Up @@ -50,11 +45,11 @@ func GenerateObjects(

func dumpObj(ctx TmplCtx, factories []FuncTmplFac,
desc ObjectDescription) (objs []ObjTmpl, funcs []FuncTmpl) {
fmt.Println("testing", reflect.TypeOf(desc), desc.GetUUID())
//fmt.Println("testing", reflect.TypeOf(desc), desc.GetUUID())
if !ctx.AppendUUID(desc.GetUUID()) {
return
}
fmt.Println(desc.GetType())
//fmt.Println(desc.GetType())

tmpl := desc.GenObjectTmpl()
objs = append(objs, tmpl)
Expand Down

0 comments on commit 53d2e63

Please sign in to comment.