[#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:
Pavel Karpy 2021-06-09 16:25:59 +03:00 committed by Alex Vanin
parent bbd651767e
commit d802a994f5

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(),