Documentation ¶
Index ¶
Constants ¶
View Source
const ( AddressComponentTypeSubPremise = "subpremise" AddressComponentTypePremise = "premise" AddressComponentTypeStreetNumber = "street_number" AddressComponentTypeRoute = "route" AddressComponentTypeStreetAddress = "street_address" AddressComponentTypeSubLocality = "sublocality" AddressComponentTypeLocality = "locality" AddressComponentTypeAdminAreaLevel1 = "administrative_area_level_1" AddressComponentTypeAdminAreaLevel2 = "administrative_area_level_2" AddressComponentTypeAdminAreaLevel3 = "administrative_area_level_3" AddressComponentTypeAdminAreaLevel4 = "administrative_area_level_4" AddressComponentTypeAdminAreaLevel5 = "administrative_area_level_5" AddressComponentTypeCountry = "country" AddressComponentTypePostalCode = "postal_code" )
Define the different address component types.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { AddressLine1 *string `json:"address_line1"` AddressLine2 *string `json:"address_line2"` AddressCity *string `json:"address_city"` AddressState *string `json:"address_state"` AddressCountry *string `json:"address_country"` AddressCountryCode *string `json:"address_country_code"` AddressZip *string `json:"address_zip"` AddressLat *float64 `json:"address_lat"` AddressLng *float64 `json:"address_lng"` FormattedAddress *string `json:"formatted_address"` }
Address represents a response Address from abode.
Click to show internal directories.
Click to hide internal directories.