Skip to content

geoip.City() returns a half-empty object with the specified IP address #145

@groall

Description

@groall
ip := "185.76.254.54"
city, err := geoip.City(net.ParseIP(ip))

both city.City.Name and city.City.GeoNameID are empty, but other properties such as Continent or Country are filled.

I'm using the latest maxdb update. And if I convert the database to csv, then the csv will have complete information about the city - name, id, etc.

I have the problem only with the IP address from the example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions