cherry-pick #7523 to v1.66.x branch #11558
Annotations
10 errors
cmd/protoc-gen-go-grpc/grpc.go#L352
if block ends with a return statement, so drop this else and outdent its block https://revive.run/r#indent-error-flow
|
cmd/protoc-gen-go-grpc/grpc.go#L519
if block ends with a return statement, so drop this else and outdent its block https://revive.run/r#indent-error-flow
|
internal/stats/metrics_recorder_list.go#L57
exported method MetricsRecorderList.RecordInt64Count should have comment or be unexported https://revive.run/r#exported
|
internal/stats/metrics_recorder_list.go#L65
exported method MetricsRecorderList.RecordFloat64Count should have comment or be unexported https://revive.run/r#exported
|
internal/stats/metrics_recorder_list.go#L73
exported method MetricsRecorderList.RecordInt64Histo should have comment or be unexported https://revive.run/r#exported
|
internal/stats/metrics_recorder_list.go#L81
exported method MetricsRecorderList.RecordFloat64Histo should have comment or be unexported https://revive.run/r#exported
|
internal/stats/metrics_recorder_list.go#L89
exported method MetricsRecorderList.RecordInt64Gauge should have comment or be unexported https://revive.run/r#exported
|
reflection/test/grpc_testing_not_regenerate/testv3.go#L382
context.Context should be the first parameter of a function https://revive.run/r#context-as-argument
|
reflection/test/grpc_testing_not_regenerate/testv3.go#L34
don't use an underscore in package name https://revive.run/r#var-naming
|
reflection/test/grpc_testing_not_regenerate/testv3.go#L56
don't use underscores in Go names; type SearchResponseV3_State should be SearchResponseV3State https://revive.run/r#var-naming
|
This job succeeded
Loading