This commit is contained in:
2026-06-19 17:34:28 +03:00
parent cd5d1c9d0b
commit b897b3447a
1513 changed files with 1 additions and 107093 deletions

View File

@@ -1,19 +0,0 @@
package acsgroups
// IDs gets array of IDs from AccessGroupList struct
func (agl AccessGroupList) IDs() []string {
res := make([]string, 0, len(agl.AccessGroups))
for _, c := range agl.AccessGroups {
res = append(res, c.ID)
}
return res
}
// IDs gets array of IDs from UsersList struct
func (ul UsersList) IDs() []string {
res := make([]string, 0, len(ul.Users))
for _, c := range ul.Users {
res = append(res, c.ID)
}
return res
}