This commit is contained in:
2026-06-19 17:42:24 +03:00
parent 3fe358fd9e
commit cf8dae6f4b
1505 changed files with 103498 additions and 1 deletions

10
pkg/sdn/segments/ids.go Normal file
View File

@@ -0,0 +1,10 @@
package segments
// IDs gets array of IDs from ListSegment struct
func (list ListSegment) IDs() []string {
res := make([]string, 0, len(list))
for _, item := range list {
res = append(res, item.ID)
}
return res
}