This commit is contained in:
2024-04-16 14:26:06 +03:00
parent bc264c4d90
commit e7c968797b
298 changed files with 11066 additions and 398 deletions

View File

@@ -0,0 +1,10 @@
package node
// IDs gets array of Node IDs from ListNodes struct
func (ln ListNodes) IDs() []uint64 {
res := make([]uint64, 0, len(ln.Data))
for _, n := range ln.Data {
res = append(res, n.ID)
}
return res
}