v9.0.0
This commit is contained in:
1 parent
b924e85e49
commit
f1ffb4c0fd
1108 files changed
+72020
No files matched your search
@@ -0,0 +1,10 @@
|
||||
package locations
|
||||
|
||||
// IDs gets array of LocationIDs from ListLocations struct
|
||||
func (ll ListLocations) IDs() []uint64 {
|
||||
res := make([]uint64, 0, len(ll.Data))
|
||||
for _, l := range ll.Data {
|
||||
res = append(res, l.GID)
|
||||
}
|
||||
return res
|
||||
}
|
||||
Reference in new issue
Block a user