frostfs-api-go/pkg/container/id
Pavel Karpy 6ce8844654 [#302] pkg/container/id: Convert nil ID to nil message
Document that `ID.ToV2` method returns
`nil` when is called on `nil`. Document
 that `NewFromV2` method returns
`nil` when is called on `nil`. Add
corresponding unit test.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-06-09 17:23:35 +03:00
..
test [#283] pkg/container: Define ID in a separate package 2021-05-26 12:24:58 +03:00
id.go [#302] pkg/container/id: Convert nil ID to nil message 2021-06-09 17:23:35 +03:00
id_test.go [#302] pkg/container/id: Convert nil ID to nil message 2021-06-09 17:23:35 +03:00