Refactoring
This commit is contained in:
14
pkg/cloudapi/locations/models.go
Normal file
14
pkg/cloudapi/locations/models.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package locations
|
||||
|
||||
type Location struct {
|
||||
GID int `json:"gid"`
|
||||
Id int `json:"id"`
|
||||
Guid int `json:"guid"`
|
||||
LocationCode string `json:"locationCode"`
|
||||
Name string `json:"name"`
|
||||
Flag string `json:"flag"`
|
||||
Meta []interface{} `json:"_meta"`
|
||||
CKey string `json:"_ckey"`
|
||||
}
|
||||
|
||||
type LocationsList []Location
|
||||
Reference in New Issue
Block a user