Skip to content

Commit 0c6d80c

Browse files
authored
chore: fix lint (#7133)
1 parent b37cd81 commit 0c6d80c

File tree

4 files changed

+37
-25
lines changed

4 files changed

+37
-25
lines changed

cmd/protoc-gen-go-grpc/testdata/golden.pb.go

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/protoc-gen-go-grpc/testdata/golden.proto

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,12 @@ message EventResponse {
2727
}
2828

2929
service BidirectionalStreamingService {
30-
rpc unaryMethod(EventRequest) returns (EventResponse) {}
31-
rpc clientMethod(stream EventRequest) returns (EventResponse) {}
32-
rpc serverMethod(EventRequest) returns (stream EventResponse) {}
33-
rpc bidirectionalMethod(stream EventRequest) returns (stream EventResponse) {}
30+
// UnaryMethod is a sample unary method.
31+
rpc UnaryMethod(EventRequest) returns (EventResponse) {}
32+
// ClientMethod is a sample client streaming method.
33+
rpc ClientMethod(stream EventRequest) returns (EventResponse) {}
34+
// ServerMethod is a sample server streaming method.
35+
rpc ServerMethod(EventRequest) returns (stream EventResponse) {}
36+
// BidirectionalMethod is a sample bidirectional streaming method.
37+
rpc BidirectionalMethod(stream EventRequest) returns (stream EventResponse) {}
3438
}

cmd/protoc-gen-go-grpc/testdata/golden_grpc.pb.go

Lines changed: 16 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

reflection/test/serverreflection_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
*/
1818

19-
package test
19+
package test_test
2020

2121
import (
2222
"context"

0 commit comments

Comments
 (0)