upgrade grpc version & replace github.com/golang/protobuf/protoc-gen-go with google.golang.org/protobuf (#1065)
This commit is contained in:
@@ -2,6 +2,8 @@ syntax = "proto3";
|
||||
|
||||
package mock;
|
||||
|
||||
option go_package = ".;mock";
|
||||
|
||||
message DepositRequest {
|
||||
float amount = 1;
|
||||
}
|
||||
@@ -12,4 +14,4 @@ message DepositResponse {
|
||||
|
||||
service DepositService {
|
||||
rpc Deposit(DepositRequest) returns (DepositResponse);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user