frostfs-sdk-go/version/test/generate.go
Alex Vanin 94476f9055 Rename package name
Due to source code relocation from GitHub.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2023-03-07 15:47:21 +03:00

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
}