Closed naliferov closed 7 years ago
In order to do this, you would need to use maxminddb's traversal feature. However, you likely would be better off getting the cities and countries from the CSV version of the database.
maxminddb
func (r *Reader) Decode(offset uintptr, result interface{}) error
This method?
https://godoc.org/github.com/oschwald/maxminddb-golang#Reader.Networks
In order to do this, you would need to use
maxminddb
's traversal feature. However, you likely would be better off getting the cities and countries from the CSV version of the database.