mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-06 04:20:11 +00:00
fix: remove debug logging
This commit is contained in:
committed by
Dave Shanley
parent
52f9868d96
commit
5f92de63a4
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user