upgrade grpc version & replace github.com/golang/protobuf/protoc-gen-go with google.golang.org/protobuf (#1065)

This commit is contained in:
Kevin Wan
2021-09-19 21:37:55 +08:00
committed by GitHub
parent 7fb5bab26b
commit a5407479a6
4 changed files with 227 additions and 91 deletions

View File

@@ -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);
}
}