[#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>
remotes/KirillovDenis/feature/refactor-sig-rpc
Pavel Karpy 2021-06-09 16:25:59 +03:00 committed by Alex Vanin
parent bbd651767e
commit d802a994f5
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,9 @@ type SplitID struct {
}
// NewSplitID returns UUID representation of splitID attribute.
//
// Defaults:
// - id: random UUID.
func NewSplitID() *SplitID {
return &SplitID{
uuid: uuid.New(),