go-zero/tools/goctl/rpc/parser/test.proto

23 lines
309 B
Protocol Buffer
Raw Normal View History

syntax = "proto3";
package test;
option go_package = "go";
import "base.proto";
message TestMessage{}
message TestReq{}
message TestReply{}
2021-08-16 15:07:11 +08:00
message Inline {
message Inner{}
}
enum TestEnum {
unknown = 0;
male = 1;
female = 2;
}
service TestService{
rpc TestRpcOne (TestReq)returns(TestReply);
}