From d802a994f57e9b0450204e3f7c91024fa3096d41 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Wed, 9 Jun 2021 16:25:59 +0300 Subject: [PATCH] [#302] pkg/object: Document default values set in `NewSplitID` Document field values of instance constructed via `NewSplitID`. Signed-off-by: Pavel Karpy --- pkg/object/splitid.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/object/splitid.go b/pkg/object/splitid.go index e495e8dd..84288f29 100644 --- a/pkg/object/splitid.go +++ b/pkg/object/splitid.go @@ -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(),