This commit is contained in:
2026-06-19 17:40:28 +03:00
parent 538f5cf026
commit 3fe358fd9e
1505 changed files with 1 additions and 103498 deletions

View File

@@ -1,19 +0,0 @@
package image
// IDs gets array of ImageIDs from ListImages struct
func (li ListImages) IDs() []uint64 {
res := make([]uint64, 0, len(li.Data))
for _, i := range li.Data {
res = append(res, i.ID)
}
return res
}
// IDs gets array of HistoryIDs from ListHistories struct
func (lh ListHistories) IDs() []uint64 {
res := make([]uint64, 0, len(lh))
for _, h := range lh {
res = append(res, h.ID)
}
return res
}