frostfs-api-go/pkg/object
Leonard Lyubich 1ac6f2eeeb [#145] sdk/object: Refactor logic of field setters
In previous implementation RawObject constructor initialized internal v2
Object structure recursively so that further you can directly set the values
of nested fields. This caused the object created by constructor New to be
different from the object created from the empty object v2.

Remove recursive initialization of v2 Object from New and NewRaw
constructors. Make setters to initialize nested structures on demand.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-09-18 10:45:11 +03:00
..
address.go [#140] sdk: Refactor reference types 2020-09-18 10:45:11 +03:00
attribute.go [#140] sdk/object: Define Attribute type 2020-09-18 10:45:11 +03:00
attribute_test.go [#140] sdk/object: Define Attribute type 2020-09-18 10:45:11 +03:00
fmt.go [#140] sdk/object: Implement object format control functions 2020-09-18 10:45:11 +03:00
fmt_test.go [#140] sdk/object: Implement object format control functions 2020-09-18 10:45:11 +03:00
id.go [#140] sdk/object: Implement ID comparison method 2020-09-18 10:45:11 +03:00
id_test.go [#140] sdk/object: Implement ID comparison method 2020-09-18 10:45:11 +03:00
object.go [#145] sdk/object: Refactor logic of field setters 2020-09-18 10:45:11 +03:00
raw.go [#145] sdk/object: Refactor logic of field setters 2020-09-18 10:45:11 +03:00
raw_test.go [#140] sdk/object: Refactor object types 2020-09-18 10:45:11 +03:00
rw.go [#145] sdk/object: Refactor logic of field setters 2020-09-18 10:45:11 +03:00