use sync.Map to store type info

This commit is contained in:
JunDao
2019-05-18 20:10:05 +08:00
parent 7953808e36
commit d3c7f45a21
3 changed files with 12 additions and 3 deletions

View File

@ -27,7 +27,6 @@ type Decoder struct {
io.ByteReader
io.Reader
}
nameless bool
}
func NewDecoder(r io.Reader) *Decoder {