v1.0.0
This commit is contained in:
@@ -1,14 +1,31 @@
|
||||
package locations
|
||||
|
||||
type Location struct {
|
||||
GID uint64 `json:"gid"`
|
||||
ID uint64 `json:"id"`
|
||||
GUID uint64 `json:"guid"`
|
||||
LocationCode string `json:"locationCode"`
|
||||
Name string `json:"name"`
|
||||
Flag string `json:"flag"`
|
||||
Meta []interface{} `json:"_meta"`
|
||||
CKey string `json:"_ckey"`
|
||||
// Main information about locations
|
||||
type ItemLocation struct {
|
||||
// Grid ID
|
||||
GID uint64 `json:"gid"`
|
||||
|
||||
// ID
|
||||
ID uint64 `json:"id"`
|
||||
|
||||
// GUID
|
||||
GUID uint64 `json:"guid"`
|
||||
|
||||
// Location code
|
||||
LocationCode string `json:"locationCode"`
|
||||
|
||||
// Name
|
||||
Name string `json:"name"`
|
||||
|
||||
// Flag
|
||||
Flag string `json:"flag"`
|
||||
|
||||
// Meta
|
||||
Meta []interface{} `json:"_meta"`
|
||||
|
||||
// CKey
|
||||
CKey string `json:"_ckey"`
|
||||
}
|
||||
|
||||
type LocationsList []Location
|
||||
// List of locations
|
||||
type ListLocations []ItemLocation
|
||||
|
||||
Reference in New Issue
Block a user