oschwald / maxminddb-golang

MaxMind DB Reader for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handling of interfaces should be smarter

oschwald opened this issue · comments

Right now, the reader assumes every interface is an empty interface, which is wrong and can lead to panics when using other interfaces in the type being decoded to. We should do something like indirect() in encoding/json.