You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-zero/tools/goctl/rpc/parser/test.proto

20 lines
272 B
Protocol Buffer

syntax = "proto3";
package test;
option go_package = "go";
import "base.proto";
message TestMessage{}
message TestReq{}
message TestReply{}
enum TestEnum {
unknown = 0;
male = 1;
female = 2;
}
service TestService{
rpc TestRpcOne (TestReq)returns(TestReply);
}