You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
234 B
11 lines
234 B
|
4 days ago
|
package adrspools
|
||
|
|
|
||
|
|
// IDs gets array of IDs from AddressPoolsList struct
|
||
|
|
func (agl AddressPoolsList) IDs() []string {
|
||
|
|
res := make([]string, 0, len(agl.Pools))
|
||
|
|
for _, c := range agl.Pools {
|
||
|
|
res = append(res, c.ID)
|
||
|
|
}
|
||
|
|
return res
|
||
|
|
}
|