Versions in this module Expand all Collapse all v1 v1.0.0 May 3, 2024 Changes in this version + var UsSateCodes = map[string]string + type Cities []GeobedCity + func (c Cities) Len() int + func (c Cities) Less(i, j int) bool + func (c Cities) Swap(i, j int) + type CountryInfo struct + Area int32 + Capital string + Continent string + Country string + CurrencyCode string + CurrencyName string + EquivalentFipsCode string + Fips string + GeonameId int32 + ISO string + ISO3 string + ISONumeric int16 + Languages string + Neighbours string + Phone string + Population int32 + PostalCodeFormat string + PostalCodeRegex string + Tld string + type GeoBed struct + func NewGeobed() GeoBed + func (g *GeoBed) Geocode(n string, opts ...GeocodeOptions) GeobedCity + func (g *GeoBed) ReverseGeocode(lat, lng float64) GeobedCity + type GeobedCity struct + City string + CityAlt string + Country string + Geohash string + Latitude float64 + Longitude float64 + Population int32 + Region string + type GeocodeOptions struct + ExactCity bool