Skip to content
Snippets Groups Projects
Commit 8a795580 authored by Pavel Antonov's avatar Pavel Antonov :asterisk:
Browse files

Merge branch 'feature/PRXS-1281-CollsUtilsToSDK' into 'master'

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

See merge request perxis/perxis-go!50
parents fba2dffd b1cc8870
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