Versions in this module Expand all Collapse all v0 v0.2.0 Feb 3, 2019 v0.1.0 Sep 16, 2018 Changes in this version + func Open(file string) (*geoip2.Reader, error) + type Geo struct + CityName string + ContinentCode string + ContinentName string + CountryIsoCode string + CountryName string + Latitude float64 + Longitude float64 + PostalCode string + SubdivisionIsoCode string + SubdivisionName string + TimeZone string + type RetData struct + Error bool + Geo *Geo + Host string + IP net.IP + Message string + func Query(host string, db *geoip2.Reader, language string) *RetData