36 lines
851 B
Go
36 lines
851 B
Go
|
package archive
|
||
|
|
||
|
// PoiObj str
|
||
|
type PoiObj struct {
|
||
|
POI string `json:"poi"`
|
||
|
Type int32 `json:"type"`
|
||
|
Addr string `json:"address"`
|
||
|
ShowTitle string `json:"show_title"`
|
||
|
Title string `json:"title"`
|
||
|
AdInfo *AdInfo `json:"ad_info"`
|
||
|
Ancestors []*Ancestor `json:"ancestors"`
|
||
|
Distance float64 `json:"distance"`
|
||
|
ShowDistrance string `json:"show_distance"`
|
||
|
Location *Location `json:"location"`
|
||
|
}
|
||
|
|
||
|
// AdInfo str
|
||
|
type AdInfo struct {
|
||
|
Nation string `json:"nation"`
|
||
|
Provin string `json:"province"`
|
||
|
Distri string `json:"district"`
|
||
|
City string `json:"city"`
|
||
|
}
|
||
|
|
||
|
// Ancestor str
|
||
|
type Ancestor struct {
|
||
|
POI string `json:"poi"`
|
||
|
Type int32 `json:"type"`
|
||
|
}
|
||
|
|
||
|
// Location str
|
||
|
type Location struct {
|
||
|
Lat float64 `json:"lat"`
|
||
|
Lng float64 `json:"lng"`
|
||
|
}
|