Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
prasek committed Apr 27, 2018
1 parent bde43ef commit f56a27b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions test/gogo/test.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ package test;
import "google/protobuf/descriptor.proto";

message TestRequest {
string foo = 1;
string bar = 2;
string foo = 1;
string bar = 2;
}

message TestResponse {
string foo = 1;
string bar = 2;
string foo = 1;
string bar = 2;
bool sopt1 = 3;
bool mopt1 = 4;
CustomOption mopt2 = 5;
Expand All @@ -39,8 +39,8 @@ extend google.protobuf.ServiceOptions {
service TestService {
option (sopt1) = true;

rpc Simple (TestRequest) returns (TestResponse){
option (mopt1) = true;
option (mopt2) = { name: "test123", value: 55 };
};
rpc Simple (TestRequest) returns (TestResponse){
option (mopt1) = true;
option (mopt2) = { name: "test123", value: 55 };
};
}
16 changes: 8 additions & 8 deletions test/golang/test.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ package test;
import "google/protobuf/descriptor.proto";

message TestRequest {
string foo = 1;
string bar = 2;
string foo = 1;
string bar = 2;
}

message TestResponse {
string foo = 1;
string bar = 2;
string foo = 1;
string bar = 2;
bool sopt1 = 3;
bool mopt1 = 4;
CustomOption mopt2 = 5;
Expand All @@ -39,8 +39,8 @@ extend google.protobuf.ServiceOptions {
service TestService {
option (sopt1) = true;

rpc Simple (TestRequest) returns (TestResponse){
option (mopt1) = true;
option (mopt2) = { name: "test123", value: 55 };
};
rpc Simple (TestRequest) returns (TestResponse){
option (mopt1) = true;
option (mopt2) = { name: "test123", value: 55 };
};
}

0 comments on commit f56a27b

Please # to comment.