This commit is contained in:
asteam
2025-11-14 17:38:59 +03:00
parent 562b6019d0
commit 0bf073da93
149 changed files with 11080 additions and 38 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
}