This commit is contained in:
2026-09-04 17:29:39 +04:00
parent fe3c7bf63a
commit dbd979b6f3
23 changed files with 450 additions and 130 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
}