Versions in this module Expand all Collapse all v0 v0.4.5 Sep 7, 2023 v0.4.3 Sep 7, 2023 Changes in this version + const BaseURL + var ErrorAPILimitExceeded = errors.New("Mapbox API error api rate limit exceeded") + var ErrorAPIUnauthorized = errors.New("Mapbox API error unauthorized") + type Base struct + func NewBase(token string) (*Base, error) + func (b *Base) Query(api, version, mode, query string, v *url.Values, inst interface{}) error + func (b *Base) QueryBase(query string, v *url.Values, inst interface{}) error + func (b *Base) QueryRequest(query string, v *url.Values) (*http.Response, error) + func (b *Base) SetDebug(debug bool) + type BoundingBox []float64 + type Context struct + ID string + ShortCode string + Text string + WikiData string + type Feature struct + BBox BoundingBox + Center Point + Context []Context + Geometry Geometry + ID string + PlaceName string + PlaceType []string + Properties Properties + Relevance float64 + Text string + Type string + type FeatureCollection struct + Attribution string + Features []Feature + Type string + type Geometry struct + Coordinates Point + Type string + type Location struct + Latitude float64 + Longitude float64 + type MapboxApiMessage struct + Message string + type Point []float64 + type Properties struct + Category string + Landmark bool + Maki string + Tel string + Wikidata string