grpclog: refactor to move implementation to grpclog/internal #11438
Annotations
10 errors
tests (vet, 1.22):
profiling/cmd/remote.go#L95
if block ends with a return statement, so drop this else and outdent its block https://revive.run/r#indent-error-flow
|
tests (vet, 1.22):
rpc_util.go#L732
if block ends with a return statement, so drop this else and outdent its block https://revive.run/r#indent-error-flow
|
tests (vet, 1.22):
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
|
tests (vet, 1.22):
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
|
tests (vet, 1.22):
examples/features/flow_control/client/main.go#L37
should omit type string from declaration of var payload; it will be inferred from the right-hand side https://revive.run/r#var-declaration
|
tests (vet, 1.22):
internal/internal.go#L186
should omit type string from declaration of var GRPCResolverSchemeExtraMetadata; it will be inferred from the right-hand side https://revive.run/r#var-declaration
|
tests (vet, 1.22):
internal/internal.go#L206
should omit type bool from declaration of var UserSetDefaultScheme; it will be inferred from the right-hand side https://revive.run/r#var-declaration
|
tests (vet, 1.22):
internal/internal.go#L194
exported var ChannelzTurnOffForTesting should have comment or be unexported https://revive.run/r#exported
|
tests (vet, 1.22):
interop/observability/server/server.go#L19
should have a package comment https://revive.run/r#package-comments
|
tests (vet, 1.22):
internal/testutils/stats/test_metrics_recorder.go#L52
exported function NewTestMetricsRecorder should have comment or be unexported https://revive.run/r#exported
|