mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-06 12:37:49 +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,
|
Value: sch.Value,
|
||||||
}}
|
}}
|
||||||
|
|
||||||
fmt.Println("building schema", idx, sch)
|
|
||||||
|
|
||||||
bChan <- buildResult{idx: idx, s: p}
|
bChan <- buildResult{idx: idx, s: p}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -333,7 +331,6 @@ func NewSchema(schema *base.Schema) *Schema {
|
|||||||
bChan := make(chan buildResult)
|
bChan := make(chan buildResult)
|
||||||
totalSchemas := len(schemas)
|
totalSchemas := len(schemas)
|
||||||
for i := range schemas {
|
for i := range schemas {
|
||||||
fmt.Println("start build schema", i, schemas[i])
|
|
||||||
go buildSchema(schemas[i], i, bChan)
|
go buildSchema(schemas[i], i, bChan)
|
||||||
}
|
}
|
||||||
j := 0
|
j := 0
|
||||||
@@ -341,7 +338,6 @@ func NewSchema(schema *base.Schema) *Schema {
|
|||||||
select {
|
select {
|
||||||
case r := <-bChan:
|
case r := <-bChan:
|
||||||
j++
|
j++
|
||||||
fmt.Println("got schema", r.idx, "of", totalSchemas)
|
|
||||||
(*items)[r.idx] = r.s
|
(*items)[r.idx] = r.s
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user