Testing #3510
Annotations
10 errors
Run vet.sh:
internal/serviceconfig/serviceconfig.go#L93
this block is empty, you can remove it https://revive.run/r#empty-block
|
Run vet.sh:
internal/status/status.go#L141
redefinition of the built-in type any https://revive.run/r#redefines-builtin-id
|
Run vet.sh:
examples/features/flow_control/server/main.go#L38
should omit type string from declaration of var payload; it will be inferred from the right-hand side https://revive.run/r#var-declaration
|
Run vet.sh:
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
|
Run vet.sh:
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
|
Run vet.sh:
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
|
Run vet.sh:
reflection/test/grpc_testing_not_regenerate/dynamic.go#L18
don't use an underscore in package name https://revive.run/r#var-naming
|
Run vet.sh:
internal/channelz/socket.go#L73
exported type SocketType should have comment or be unexported https://revive.run/r#exported
|
Run vet.sh:
internal/channelz/trace.go#L82
exported type ChannelTrace should have comment or be unexported https://revive.run/r#exported
|
Run vet.sh:
internal/channelz/subchannel.go#L50
exported method SubChannel.Sockets should have comment or be unexported https://revive.run/r#exported
|
Loading