|
@@ -18,8 +18,6 @@ import (
|
|
|
"sync"
|
|
"sync"
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
-const debug bool = false
|
|
|
|
|
-
|
|
|
|
|
// Constants that identify the encoding of a value on the wire.
|
|
// Constants that identify the encoding of a value on the wire.
|
|
|
const (
|
|
const (
|
|
|
WireVarint = 0
|
|
WireVarint = 0
|
|
@@ -351,13 +349,6 @@ func getPropertiesLocked(t reflect.Type) *StructProperties {
|
|
|
}
|
|
}
|
|
|
prop.Prop[i] = p
|
|
prop.Prop[i] = p
|
|
|
prop.order[i] = i
|
|
prop.order[i] = i
|
|
|
- if debug {
|
|
|
|
|
- print(i, " ", f.Name, " ", t.String(), " ")
|
|
|
|
|
- if p.Tag > 0 {
|
|
|
|
|
- print(p.String())
|
|
|
|
|
- }
|
|
|
|
|
- print("\n")
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// Re-order prop.order.
|
|
// Re-order prop.order.
|