Versions in this module Expand all Collapse all v0 v0.1.0 Sep 26, 2023 Changes in this version + var ErrLocationNotFound = errors.New("country not found") + func Cities10() []byte + func Countries10() []byte + func Countries110() []byte + func Provinces10() []byte + type Location struct + City string + Continent string + Country string + CountryCode2 string + CountryCode3 string + CountryLong string + Province string + ProvinceCode string + Region string + SubRegion string + func (l Location) String() string + type Rgeo struct + func New(datasets ...func() []byte) (*Rgeo, error) + func (r *Rgeo) ReverseGeocode(loc geom.Coord) (Location, error) + func (r *Rgeo) ReverseGeocodeSnapping(coord geom.Coord) (Location, error) + func (r *Rgeo) SetSnappingDistanceCustom(d float64, radius float64) + func (r *Rgeo) SetSnappingDistanceEarth(d float64)