2022-09-10 14:14:47 -04:00

20 lines
331 B
Protocol Buffer

syntax = "proto3";
package protoexample;
option go_package="github.com/gin-gonic/gin/testdata/protoexample;protoexample";
enum FOO {
FOO_UNSPECIFIED = 0;
FOO_A = 1;
FOO_B = 2;
FOO_C = 3;
};
message Test {
string label = 1;
optional int32 type = 2;
repeated int64 reps = 3;
optional string optional_field = 4;
}