Skip to content
Snippets Groups Projects
Commit b1cc8870 authored by Valera Shaitorov's avatar Valera Shaitorov :alien:
Browse files

Перенесена функция из collections/utils в perxis SDK

parent fba2dffd
No related branches found
No related tags found
No related merge requests found
......@@ -178,3 +178,11 @@ func (c Collection) IsNoData() bool {
func (c Collection) IsView() bool {
return c.View != nil
}
func GetCollectionsIDs(collections []*Collection) []string {
res := make([]string, len(collections))
for i, c := range collections {
res[i] = c.ID
}
return res
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment