eb3b990812
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
13 lines
219 B
Go
13 lines
219 B
Go
package subnetidtest
|
|
|
|
import (
|
|
"math/rand"
|
|
|
|
subnetid "github.com/nspcc-dev/neofs-sdk-go/subnet/id"
|
|
)
|
|
|
|
// ID generates and returns random subnetid.ID.
|
|
func ID() (x subnetid.ID) {
|
|
x.SetNumeric(rand.Uint32())
|
|
return
|
|
}
|