forked from TrueCloudLab/frostfs-sdk-go
[#170] accounting: Remove message
sub-string from V2-methods
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
7d31de57ec
commit
aeb4ac638a
4 changed files with 12 additions and 12 deletions
|
@ -14,7 +14,7 @@ On client side:
|
|||
import "github.com/nspcc-dev/neofs-api-go/v2/accounting"
|
||||
|
||||
var msg accounting.Decimal
|
||||
dec.WriteToMessageV2(&msg)
|
||||
dec.WriteToV2(&msg)
|
||||
|
||||
// send msg
|
||||
|
||||
|
@ -22,7 +22,7 @@ On server side:
|
|||
// recv msg
|
||||
|
||||
var dec accounting.Decimal
|
||||
dec.ReadFromMessageV2(msg)
|
||||
dec.ReadFromV2(msg)
|
||||
|
||||
// process dec
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue