geocoding added, but working so-so, need to fix some lines
This commit is contained in:
@@ -314,11 +314,12 @@ type VehicleUpdateStatus string
|
||||
|
||||
// WarehouseCreate defines model for WarehouseCreate.
|
||||
type WarehouseCreate struct {
|
||||
Address string `json:"address"`
|
||||
City *string `json:"city,omitempty"`
|
||||
Latitude *float32 `json:"latitude,omitempty"`
|
||||
Longitude *float32 `json:"longitude,omitempty"`
|
||||
Name string `json:"name"`
|
||||
// Address Улица и номер дома
|
||||
Address string `json:"address"`
|
||||
|
||||
// City Город — используется вместе с address для геокодинга
|
||||
City string `json:"city"`
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
// WarehouseUpdate defines model for WarehouseUpdate.
|
||||
|
||||
Reference in New Issue
Block a user