forked from TrueCloudLab/frostfs-api-go
[#302] pkg/object: Document default values set in NewSplitID
Document field values of instance constructed via `NewSplitID`. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
bbd651767e
commit
d802a994f5
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,9 @@ type SplitID struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewSplitID returns UUID representation of splitID attribute.
|
// NewSplitID returns UUID representation of splitID attribute.
|
||||||
|
//
|
||||||
|
// Defaults:
|
||||||
|
// - id: random UUID.
|
||||||
func NewSplitID() *SplitID {
|
func NewSplitID() *SplitID {
|
||||||
return &SplitID{
|
return &SplitID{
|
||||||
uuid: uuid.New(),
|
uuid: uuid.New(),
|
||||||
|
|
Loading…
Reference in a new issue