v12.8.0
This commit is contained in:
1 parent
18a4311b97
commit
e3a65c0f33
151 files changed
+10721
-28
No files matched your search
@@ -0,0 +1,10 @@
|
||||
package logicalports
|
||||
|
||||
// IDs gets array of IDs from LogicalPortList struct
|
||||
func (pl LogicalPortsList) IDs() []string {
|
||||
res := make([]string, 0, len(pl.Ports))
|
||||
for _, c := range pl.Ports {
|
||||
res = append(res, c.ID)
|
||||
}
|
||||
return res
|
||||
}
|
||||
Reference in new issue
Block a user