1
0
mirror of https://github.com/garraflavatra/go-fmp.git synced 2025-06-28 04:25:11 +00:00

Debug prints

This commit is contained in:
2025-06-14 14:24:35 +02:00
parent a7bde87c6f
commit d9ffc3e573
5 changed files with 18 additions and 31 deletions

View File

@ -7,19 +7,19 @@ func (ctx *FmpFile) Tables() []*FmpTable {
if key != 3 {
continue
}
println("Found a 3")
debug("Found a 3")
for key, ent = range *ent.Children {
if key != 16 {
continue
}
println("Found a 3.16")
debug("Found a 3.16")
for key, ent = range *ent.Children {
if key != 5 {
continue
}
println("Found a 3.16.5")
debug("Found a 3.16.5")
for tablePath := range *ent.Children {
if key >= 128 {
@ -27,7 +27,7 @@ func (ctx *FmpFile) Tables() []*FmpTable {
}
// Found a table!
println("Found a table at 3.16.5.", tablePath)
debug("Found a table at 3.16.5.%d", tablePath)
}
}
}