init
This commit is contained in:
@@ -104,18 +104,24 @@ type Regeocode struct {
|
||||
}
|
||||
|
||||
type AddressComponent struct {
|
||||
BusinessAreas [][]interface{} `json:"businessAreas"`
|
||||
Country string `json:"country"`
|
||||
Province string `json:"province"`
|
||||
Citycode string `json:"citycode"`
|
||||
City string `json:"city"`
|
||||
Adcode string `json:"adcode"`
|
||||
StreetNumber StreetNumber `json:"streetNumber"`
|
||||
Towncode string `json:"towncode"`
|
||||
District string `json:"district"`
|
||||
Neighborhood Neighborhood `json:"neighborhood"`
|
||||
Township string `json:"township"`
|
||||
Building Building `json:"building"`
|
||||
// BusinessAreas []interface{} `json:"businessAreas"`
|
||||
Country string `json:"country"`
|
||||
Province string `json:"province"`
|
||||
Citycode string `json:"citycode"`
|
||||
City string `json:"city"`
|
||||
Adcode string `json:"adcode"`
|
||||
StreetNumber StreetNumber `json:"streetNumber"`
|
||||
Towncode string `json:"towncode"`
|
||||
District string `json:"district"`
|
||||
// Neighborhood Neighborhood `json:"neighborhood"`
|
||||
Township string `json:"township"`
|
||||
// Building Building `json:"building"`
|
||||
}
|
||||
|
||||
type BusinessArea struct {
|
||||
Name string `json:"name"`
|
||||
Location string `json:"location"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
type StreetNumber struct {
|
||||
Number string `json:"number"`
|
||||
@@ -126,11 +132,11 @@ type StreetNumber struct {
|
||||
}
|
||||
|
||||
type Neighborhood struct {
|
||||
Name []interface{} `json:"name"`
|
||||
Type []interface{} `json:"type"`
|
||||
Name interface{} `json:"name"`
|
||||
Type interface{} `json:"type"`
|
||||
}
|
||||
|
||||
type Building struct {
|
||||
Name []interface{} `json:"name"`
|
||||
Type []interface{} `json:"type"`
|
||||
Name interface{} `json:"name"`
|
||||
Type interface{} `json:"type"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user