fix: remove debug logging

This commit is contained in:
Tristan Cartledge
2023-01-10 11:08:04 +00:00
committed by Dave Shanley
parent 52f9868d96
commit 5f92de63a4

View File

@@ -321,8 +321,6 @@ func NewSchema(schema *base.Schema) *Schema {
Value: sch.Value,
}}
fmt.Println("building schema", idx, sch)
bChan <- buildResult{idx: idx, s: p}
}
@@ -333,7 +331,6 @@ func NewSchema(schema *base.Schema) *Schema {
bChan := make(chan buildResult)
totalSchemas := len(schemas)
for i := range schemas {
fmt.Println("start build schema", i, schemas[i])
go buildSchema(schemas[i], i, bChan)
}
j := 0
@@ -341,7 +338,6 @@ func NewSchema(schema *base.Schema) *Schema {
select {
case r := <-bChan:
j++
fmt.Println("got schema", r.idx, "of", totalSchemas)
(*items)[r.idx] = r.s
}
}