forked from TrueCloudLab/frostfs-api-go
Add stable marshaler for enums
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
f8482381fd
commit
a7a8fc33bb
4 changed files with 163 additions and 17 deletions
|
@ -10,4 +10,11 @@ message Primitives {
|
|||
uint32 field_e = 202;
|
||||
int64 field_f = 203;
|
||||
uint64 field_g = 204;
|
||||
|
||||
enum SomeEnum {
|
||||
UNKNOWN = 0;
|
||||
POSITIVE = 1;
|
||||
NEGATIVE = -1;
|
||||
}
|
||||
SomeEnum field_h = 300;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue