Alex Vanin
94476f9055
Due to source code relocation from GitHub. Signed-off-by: Alex Vanin <a.vanin@yadro.com>
14 lines
249 B
Go
14 lines
249 B
Go
package versiontest
|
|
|
|
import (
|
|
"math/rand"
|
|
|
|
"git.frostfs.info/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
|
|
}
|