forked from TrueCloudLab/frostfs-api-go
[#76] Make setter names more consistent
This will make the transition to a new codegen more seamless. 1. Setter should be named as the field itself. 2. Setter should accept 1 parameter. Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
fa8f92d662
commit
0fe6b9adbb
10 changed files with 36 additions and 36 deletions
|
@ -25,8 +25,8 @@ func (x *Address) SetObjectId(v *ObjectID) {
|
|||
x.ObjectId = v
|
||||
}
|
||||
|
||||
// SetChecksumType in generic checksum structure.
|
||||
func (x *Checksum) SetChecksumType(v ChecksumType) {
|
||||
// SetType in generic checksum structure.
|
||||
func (x *Checksum) SetType(v ChecksumType) {
|
||||
x.Type = v
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue