Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAddress ¶
func WithKeywords ¶ added in v0.9.7
Types ¶
type Geocode ¶
func NewGeocode
deprecated
type GeocodeItem ¶
type GeocodeItem struct { FormattedAddress string `json:"formatted_address,omitempty"` Country string `json:"country,omitempty"` Province string `json:"province,omitempty"` CityCode string `json:"citycode,omitempty"` City interface{} `json:"city,omitempty"` District interface{} `json:"district,omitempty"` Township []string `json:"township,omitempty"` Neighborhood struct { Name []string `json:"name,omitempty"` Type []string `json:"type,omitempty"` } `json:"neighborhood,omitempty"` Building struct { Name []string `json:"name,omitempty"` Type []string `json:"type,omitempty"` } `json:"building,omitempty"` Adcode string `json:"adcode,omitempty"` Street []string `json:"street,omitempty"` Number []string `json:"number,omitempty"` Location string `json:"location,omitempty"` Level string `json:"level,omitempty"` }
type GeocodeRes ¶
type GeocodeRes struct { Status string `json:"status,omitempty"` Info string `json:"info,omitempty"` InfoCode string `json:"infocode,omitempty"` Count string `json:"count,omitempty"` Geocodes []GeocodeItem `json:"geocodes,omitempty"` }
type Inputtips ¶ added in v0.9.7
func NewInputtips ¶ added in v0.9.7
Click to show internal directories.
Click to hide internal directories.