mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-16 13:22:09 +08:00
20 lines
331 B
Protocol Buffer
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;
|
|
}
|