forked from TrueCloudLab/frostfs-api-go
Place compiled proto files to root dir
Remove `v2` prefix from `prepare.sh` script. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
25da5d2e13
commit
180da74e5c
1 changed files with 0 additions and 33 deletions
|
@ -1,33 +0,0 @@
|
||||||
syntax = "proto3";
|
|
||||||
|
|
||||||
package test;
|
|
||||||
|
|
||||||
option go_package = "util/proto/test";
|
|
||||||
|
|
||||||
message Primitives {
|
|
||||||
bytes field_a = 1;
|
|
||||||
string field_b = 2;
|
|
||||||
bool field_c = 200;
|
|
||||||
int32 field_d = 201;
|
|
||||||
uint32 field_e = 202;
|
|
||||||
int64 field_f = 203;
|
|
||||||
uint64 field_g = 204;
|
|
||||||
fixed64 field_i = 205;
|
|
||||||
double field_j = 206;
|
|
||||||
|
|
||||||
enum SomeEnum {
|
|
||||||
UNKNOWN = 0;
|
|
||||||
POSITIVE = 1;
|
|
||||||
NEGATIVE = -1;
|
|
||||||
}
|
|
||||||
SomeEnum field_h = 300;
|
|
||||||
}
|
|
||||||
|
|
||||||
message RepPrimitives {
|
|
||||||
repeated bytes field_a = 1;
|
|
||||||
repeated string field_b = 2;
|
|
||||||
repeated int32 field_c = 3;
|
|
||||||
repeated uint32 field_d = 4;
|
|
||||||
repeated int64 field_e = 5;
|
|
||||||
repeated uint64 field_f = 6;
|
|
||||||
}
|
|
Loading…
Reference in a new issue