data.proto 192 B

12345678910111213
  1. syntax = "proto3";
  2. package example;
  3. message Data {
  4. string text = 1;
  5. }
  6. service FormatData {
  7. rpc DoFormat(Data) returns (Data){}
  8. }
  9. // protoc -I=. --go_out=plugins=grpc:. ./data.proto