Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { APIKey string // contains filtered or unexported fields }
func (*Client) GeocodePoints ¶
func (c *Client) GeocodePoints(points []geo.LatLng) ([]GeocodeResult, error)
type GeocodeResult ¶
type GeocodeResult struct { LatLng geo.LatLng `json:"latlng"` Results []GoogleGeocodeResult `json:"results"` }
type GoogleAddressComponent ¶
type GoogleGeocodeResponse ¶
type GoogleGeocodeResponse struct { Results []GoogleGeocodeResult `json:"results"` Status string `json:"status"` }
type GoogleGeocodeResult ¶
type GoogleGeocodeResult struct {
AddressComponents []GoogleAddressComponent `json:"address_components"`
}
Click to show internal directories.
Click to hide internal directories.