[#90] proto/test: Fix proto file formatting

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-07-12 17:36:40 +03:00
parent dafc9e5476
commit 3f92d7bfb0

View file

@ -5,30 +5,30 @@ package test;
option go_package = "util/proto/test"; option go_package = "util/proto/test";
message Primitives { message Primitives {
bytes field_a = 1; bytes field_a = 1;
string field_b = 2; string field_b = 2;
bool field_c = 200; bool field_c = 200;
int32 field_d = 201; int32 field_d = 201;
uint32 field_e = 202; uint32 field_e = 202;
int64 field_f = 203; int64 field_f = 203;
uint64 field_g = 204; uint64 field_g = 204;
fixed64 field_i = 205; fixed64 field_i = 205;
double field_j = 206; double field_j = 206;
fixed32 field_k = 207; fixed32 field_k = 207;
enum SomeEnum { enum SomeEnum {
UNKNOWN = 0; UNKNOWN = 0;
POSITIVE = 1; POSITIVE = 1;
NEGATIVE = -1; NEGATIVE = -1;
} }
SomeEnum field_h = 300; SomeEnum field_h = 300;
} }
message RepPrimitives { message RepPrimitives {
repeated bytes field_a = 1; repeated bytes field_a = 1;
repeated string field_b = 2; repeated string field_b = 2;
repeated int32 field_c = 3; repeated int32 field_c = 3;
repeated uint32 field_d = 4; repeated uint32 field_d = 4;
repeated int64 field_e = 5; repeated int64 field_e = 5;
repeated uint64 field_f = 6; repeated uint64 field_f = 6;
} }