2021-11-12 11:19:16 +00:00
|
|
|
package versiontest
|
2021-11-08 12:13:59 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"math/rand"
|
|
|
|
|
2023-03-07 11:20:03 +00:00
|
|
|
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version"
|
2021-11-08 12:13:59 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// Version returns random version.Version.
|
2022-03-23 15:35:44 +00:00
|
|
|
func Version() (v version.Version) {
|
|
|
|
v.SetMajor(rand.Uint32())
|
|
|
|
v.SetMinor(rand.Uint32())
|
|
|
|
return v
|
2021-11-08 12:13:59 +00:00
|
|
|
}
|