Documentation ¶
Overview ¶
Package geocode handles mapping user-entered locations into lat/long polygons.
Index ¶
Constants ¶
This section is empty.
Variables ¶
AltLookupFn provides alternative geocode lookup in tests.
If AltLookupFn is not nil, Lookup returns the results of the AltLookupFn call.
Lookup performs its standard lookup using its cache and the Google geocoding service if AltLookupFn is nil, or it returns (nil, nil) for the address being looked up.
It's up to the caller to change AltLookupFn only when Lookup is not being called.
View Source
var ErrNoGoogleKey = errors.New("geocode: geocoding is not configured; see https://perkeep.org/doc/geocoding")
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.