handle google.protobuf.timestamp
This commit is contained in:
12
examples/time/proto/time.proto
Normal file
12
examples/time/proto/time.proto
Normal file
@@ -0,0 +1,12 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package foo;
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
message GetFooRequest { google.protobuf.Timestamp timestamp = 1;}
|
||||
message GetFooResponse { string result = 1;}
|
||||
|
||||
service foosvc {
|
||||
rpc GetFoo (GetFooRequest) returns (GetFooResponse){}
|
||||
}
|
Reference in New Issue
Block a user