2022-03-23 15:35:44 +00:00
|
|
|
/*
|
2022-12-29 10:46:18 +00:00
|
|
|
Package version provides functionality for FrostFS versioning.
|
2022-03-23 15:35:44 +00:00
|
|
|
|
2022-12-29 10:46:18 +00:00
|
|
|
FrostFS uses FrostFS API versioning scheme. It uses major and minor version of
|
2022-03-23 15:35:44 +00:00
|
|
|
the API.
|
|
|
|
|
2022-12-29 10:46:18 +00:00
|
|
|
In most of the cases it will be enough to use the latest supported FrostFS API
|
2022-03-23 15:35:44 +00:00
|
|
|
version in SDK:
|
2022-08-24 14:17:40 +00:00
|
|
|
|
2022-03-23 15:35:44 +00:00
|
|
|
ver := version.Current()
|
|
|
|
|
|
|
|
It is possible to specify arbitrary version by setting major and minor numbers:
|
2022-08-24 14:17:40 +00:00
|
|
|
|
2022-03-23 15:35:44 +00:00
|
|
|
var ver version.Version
|
|
|
|
ver.SetMajor(2)
|
|
|
|
ver.SetMinor(5)
|
|
|
|
*/
|
|
|
|
package version
|