forked from TrueCloudLab/frostfs-sdk-go
[#170] version: Add docs, refactor
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
3e75660802
commit
ade8822a2f
21 changed files with 142 additions and 144 deletions
16
version/doc.go
Normal file
16
version/doc.go
Normal file
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
Package version provides functionality for NeoFS versioning.
|
||||
|
||||
NeoFS uses NeoFS API versioning scheme. It uses major and minor version of
|
||||
the API.
|
||||
|
||||
In most of the cases it will be enough to use the latest supported NeoFS API
|
||||
version in SDK:
|
||||
ver := version.Current()
|
||||
|
||||
It is possible to specify arbitrary version by setting major and minor numbers:
|
||||
var ver version.Version
|
||||
ver.SetMajor(2)
|
||||
ver.SetMinor(5)
|
||||
*/
|
||||
package version
|
Loading…
Add table
Add a link
Reference in a new issue