4e25b6e83a
* Add `--single-package-mode option` * Add `getMessageType` helper * Add `getProtoFile` helper * Add `examples/single-package-mode` example
19 lines
392 B
Protocol Buffer
19 lines
392 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package the.bbb.package;
|
|
|
|
option go_package = "github.com/moul/protoc-gen-gotemplate/examples/single-package-mode/output/bbb";
|
|
|
|
import "aaa/aaa.proto";
|
|
|
|
service BbbService {
|
|
rpc Aaa(the.aaa.package.AaaRequest) returns (the.aaa.package.AaaReply);
|
|
rpc Bbb(BbbRequest) returns (BbbReply);
|
|
}
|
|
|
|
message BbbRequest {
|
|
bool enable = 1;
|
|
}
|
|
message BbbReply {
|
|
bool done = 1;
|
|
} |