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.
decort-golang-sdk/pkg/sdn/extnet/ids.go

11 lines
219 B

4 days ago
package extnet
// IDs gets array of IDs from ListExtNet struct
func (eList ListExtNet) IDs() []string {
res := make([]string, 0, len(eList))
for _, item := range eList {
res = append(res, item.ID)
}
return res
}