This commit is contained in:
2026-09-04 17:02:31 +04:00
parent b3fccfb000
commit 71b53b743d
25 changed files with 440 additions and 102 deletions

View File

@@ -0,0 +1,10 @@
package session
// IDs gets array of PublicSessionIDs from ListSession struct
func (ls ListSession) IDs() []string {
res := make([]string, 0, len(ls.Data))
for _, s := range ls.Data {
res = append(res, s.PublicSessionID)
}
return res
}