Compare commits
	
		
			2 Commits
		
	
	
		
			546c45aad4
			...
			2b9092ecbe
		
	
	| Author | SHA1 | Date | 
|---|---|---|
| 
							
							
								
									
								
								 | 
						2b9092ecbe | |
| 
							
							
								 | 
						02b699f144 | 
| 
						 | 
					@ -32,6 +32,13 @@ type (
 | 
				
			||||||
		Name     string       `json:"name"`
 | 
							Name     string       `json:"name"`
 | 
				
			||||||
		Code     int          `json:"code"`
 | 
							Code     int          `json:"code"`
 | 
				
			||||||
		Slug     string       `json:"slug"`
 | 
							Slug     string       `json:"slug"`
 | 
				
			||||||
 | 
							Location *GEOLocation `json:"location"`
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						// GEOLocation ...
 | 
				
			||||||
 | 
						GEOLocation struct {
 | 
				
			||||||
 | 
							Type        string    `bson:"type" json:"type"`
 | 
				
			||||||
 | 
							Coordinates []float64 `bson:"coordinates" json:"coordinates"`
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// LocationProvinceResponse ...
 | 
						// LocationProvinceResponse ...
 | 
				
			||||||
| 
						 | 
					@ -83,5 +90,6 @@ type (
 | 
				
			||||||
		Code         int          `json:"code"`
 | 
							Code         int          `json:"code"`
 | 
				
			||||||
		DistrictCode int          `json:"districtCode"`
 | 
							DistrictCode int          `json:"districtCode"`
 | 
				
			||||||
		ProvinceCode int          `json:"provinceCode"`
 | 
							ProvinceCode int          `json:"provinceCode"`
 | 
				
			||||||
 | 
							Location     *GEOLocation `json:"location"`
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue