This commit is contained in:
dayterr committed 2026-05-08 14:18:23 +03:00
1 parent 5e5d90e24f
commit d82ae52951
9 files changed
+239 -85

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
package vgpu
// IDs gets array of VGPU IDs from ListVGPU struct
func (l ListVGPU) IDs() []uint64 {
res := make([]uint64, 0, len(l.Data))
for _, v := range l.Data {
res = append(res, v.ID)
}
return res
}