I am using grpc golang for communication between client and server application. Below is the code for the protoc buffer.
syntax = "proto3";
package Trail;
service TrailFunc {
rpc HelloWorld (Request) returns (Reply) {}
}
message Request {
map<string,string> inputVar = 1;
}
message Reply {
string outputVar = 1;
}
I need to create an inputVar field of type map [string] interface {} inside the message data structure instead of the string [string]. How can i achieve this? Thanks in advance.
source
share