github.com/0xKiwi/rules_go@v0.24.3/tests/legacy/examples/proto/grpc/my_svc.proto (about) 1 syntax = "proto3"; 2 3 package examples.svc; 4 5 option go_package = "github.com/bazelbuild/rules_go/examples/proto/grpc/my_svc_proto"; 6 7 import "tests/legacy/examples/proto/lib/lib.proto"; 8 import "google/protobuf/any.proto"; 9 import "google/protobuf/empty.proto"; 10 11 message GetRequest { 12 examples.lib.LibObject obj = 1; 13 } 14 15 service MyService { 16 rpc Get(GetRequest) returns (google.protobuf.Empty); 17 rpc Put(google.protobuf.Any) returns (examples.lib.LibObject); 18 }