Skip to content

Commit

Permalink
chore: fix lint (#7133)
Browse files Browse the repository at this point in the history
  • Loading branch information
arvindbr8 authored Apr 16, 2024
1 parent b37cd81 commit 0c6d80c
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 25 deletions.
24 changes: 12 additions & 12 deletions cmd/protoc-gen-go-grpc/testdata/golden.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 8 additions & 4 deletions cmd/protoc-gen-go-grpc/testdata/golden.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@ message EventResponse {
}

service BidirectionalStreamingService {
rpc unaryMethod(EventRequest) returns (EventResponse) {}
rpc clientMethod(stream EventRequest) returns (EventResponse) {}
rpc serverMethod(EventRequest) returns (stream EventResponse) {}
rpc bidirectionalMethod(stream EventRequest) returns (stream EventResponse) {}
// UnaryMethod is a sample unary method.
rpc UnaryMethod(EventRequest) returns (EventResponse) {}
// ClientMethod is a sample client streaming method.
rpc ClientMethod(stream EventRequest) returns (EventResponse) {}
// ServerMethod is a sample server streaming method.
rpc ServerMethod(EventRequest) returns (stream EventResponse) {}
// BidirectionalMethod is a sample bidirectional streaming method.
rpc BidirectionalMethod(stream EventRequest) returns (stream EventResponse) {}
}
24 changes: 16 additions & 8 deletions cmd/protoc-gen-go-grpc/testdata/golden_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion reflection/test/serverreflection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
*/

package test
package test_test

import (
"context"
Expand Down

0 comments on commit 0c6d80c

Please sign in to comment.