0206bd9a5d
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> |
||
---|---|---|
.. | ||
id | ||
test | ||
announcement.go | ||
announcement_test.go | ||
attribute.go | ||
attribute_test.go | ||
container.go | ||
container_test.go | ||
fmt.go | ||
fmt_test.go | ||
id.go | ||
opts.go | ||
wellknown_attributes.go |