forked from TrueCloudLab/frostfs-sdk-go
4c779423f5
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
14 lines
243 B
Go
14 lines
243 B
Go
package versiontest
|
|
|
|
import (
|
|
"math/rand"
|
|
|
|
"github.com/TrueCloudLab/frostfs-sdk-go/version"
|
|
)
|
|
|
|
// Version returns random version.Version.
|
|
func Version() (v version.Version) {
|
|
v.SetMajor(rand.Uint32())
|
|
v.SetMinor(rand.Uint32())
|
|
return v
|
|
}
|