ade8822a2f
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
14 lines
238 B
Go
14 lines
238 B
Go
package versiontest
|
|
|
|
import (
|
|
"math/rand"
|
|
|
|
"github.com/nspcc-dev/neofs-sdk-go/version"
|
|
)
|
|
|
|
// Version returns random version.Version.
|
|
func Version() (v version.Version) {
|
|
v.SetMajor(rand.Uint32())
|
|
v.SetMinor(rand.Uint32())
|
|
return v
|
|
}
|