frostfs-api-go-pogpp/pkg/container
Pavel Karpy 0206bd9a5d [#302] pkg/container: Convert nil Attributes to nil message
Make `Attributes.ToV2` method to return `nil`
when called on `nil`. Make `NewAttributesFromV2`
function to return `nil` when called on `nil`.
Write corresponding unit tests.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-06-09 17:23:35 +03:00
..
id [#302] pkg/container/id: Document default values set in New 2021-06-09 17:23:35 +03:00
test [#293] pkg/container: Implement and use generators of the messages 2021-06-08 18:59:15 +03:00
announcement.go [#302] pkg/container: Document default values set in NewAnnouncement 2021-06-09 17:23:35 +03:00
announcement_test.go [#302] pkg/container: Document default values set in NewAnnouncement 2021-06-09 17:23:35 +03:00
attribute.go [#302] pkg/container: Convert nil Attributes to nil message 2021-06-09 17:23:35 +03:00
attribute_test.go [#302] pkg/container: Convert nil Attributes to nil message 2021-06-09 17:23:35 +03:00
container.go [#302] pkg/container: Document default values set in New 2021-06-09 17:23:35 +03:00
container_test.go [#302] pkg/container: Document default values set in New 2021-06-09 17:23:35 +03:00
fmt.go [#277] go.mod: remove pkg/errors 2021-05-19 11:14:56 +03:00
fmt_test.go [#194] pkg/container: Implement container constructor with format check 2020-12-24 12:54:53 +03:00
id.go [#283] pkg/container: Define ID in a separate package 2021-05-26 12:24:58 +03:00
opts.go [#302] pkg/container: Convert nil Attributes to nil message 2021-06-09 17:23:35 +03:00
wellknown_attributes.go [#172] Improve the readability of named attribute constants 2020-10-22 19:15:45 +03:00