forked from TrueCloudLab/frostfs-api-go
docs: add decimal proto documentation
This commit is contained in:
parent
5aaea793da
commit
1383aabfa5
1 changed files with 3 additions and 0 deletions
|
@ -6,9 +6,12 @@ import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
|||
|
||||
option (gogoproto.stable_marshaler_all) = true;
|
||||
|
||||
// Decimal is a structure used for representation of assets amount
|
||||
message Decimal {
|
||||
option (gogoproto.goproto_stringer) = false;
|
||||
|
||||
// Value is value number
|
||||
int64 Value = 1;
|
||||
// Precision is precision number
|
||||
uint32 Precision = 2;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue