Skip to content

Fix issue 171 & 172 #209

Fix issue 171 & 172

Fix issue 171 & 172 #209

Triggered via pull request September 17, 2023 16:57
Status Success
Total duration 1m 9s
Artifacts

revive.yml

on: pull_request
Matrix: Run Revive Action
Fit to window
Zoom out
Zoom in

Annotations

60 warnings
Run Revive Action (1.20.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/circuitbreaker/consumer/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.20.x): benchmark/benchsimple/main.go#L71
var maxQps should be maxQPS
Run Revive Action (1.20.x): examples/quickstart/consumer/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/quickstart/provider/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/circuitbreaker/provider/main.go#L17
should have a package comment
Run Revive Action (1.20.x): plugin/configconnector/polaris/config.go#L19
should have a package comment
Run Revive Action (1.20.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.20.x): plugin/loadbalancer/common/half_open.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.15.x): api/provider_impl.go#L23
a blank import should be only in a main or test package, or have a comment justifying it
Run Revive Action (1.15.x): examples/circuitbreaker/provider/main.go#L17
should have a package comment
Run Revive Action (1.15.x): api/log.go#L27
a blank import should be only in a main or test package, or have a comment justifying it
Run Revive Action (1.15.x): examples/quickstart/consumer/main.go#L18
should have a package comment
Run Revive Action (1.15.x): test/ratelimit/common_vars.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/quickstart/provider/main.go#L18
should have a package comment
Run Revive Action (1.15.x): test/ratelimit/local_normal_suite.go#L34
comment on exported type LocalNormalTestingSuite should be of the form "LocalNormalTestingSuite ..." (with optional leading article)
Run Revive Action (1.15.x): test/ratelimit/window_expire_suite.go#L31
comment on exported type WindowExpireTestingSuite should be of the form "WindowExpireTestingSuite ..." (with optional leading article)
Run Revive Action (1.18.x): pkg/plugin/manage.go#L18
should have a package comment
Run Revive Action (1.18.x): plugin/serverconnector/grpc/creator.go#L64
parameter 'info' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.18.x): plugin/serverconnector/grpc/config.go#L18
should have a package comment
Run Revive Action (1.18.x): pkg/plugin/configfilter/configfilter.go#L19
should have a package comment
Run Revive Action (1.18.x): pkg/plugin/configconnector/config_file.go#L64
exported type ConfigFileTag should have comment or be unexported
Run Revive Action (1.18.x): pkg/plugin/healthcheck/healthcheck.go#L18
should have a package comment
Run Revive Action (1.18.x): pkg/plugin/loadbalancer/loadbalancer.go#L18
should have a package comment
Run Revive Action (1.18.x): pkg/plugin/location/location.go#L18
should have a package comment
Run Revive Action (1.18.x): pkg/plugin/loadbalancer/util.go#L25
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.19.x): pkg/plugin/weightadjuster/proxy.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/circuitbreaker/consumer/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/quickstart/consumer/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/quickstart/provider/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/ratelimit/provider/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/ratelimit/consumer/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/route/nearby/consumer/main.go#L18
should have a package comment
Run Revive Action (1.19.x): benchmark/benchsimple/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/watch/instance/notify/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/route/nearby/consumer/main.go#L18
should have a package comment
Run Revive Action (1.17.x): benchmark/benchmain/main.go#L18
should have a package comment
Run Revive Action (1.17.x): api/provider_impl.go#L23
a blank import should be only in a main or test package, or have a comment justifying it
Run Revive Action (1.17.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.17.x): api/consumer_impl.go#L29
a blank import should be only in a main or test package, or have a comment justifying it
Run Revive Action (1.17.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/extensions/zeroprotect/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/quickstart/consumer/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/quickstart/provider/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/quickstart/consumer/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/circuitbreaker/consumer/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/quickstart/provider/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/ratelimit/consumer/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/ratelimit/provider/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/route/dynamic/consumer/main.go#L18
should have a package comment
Run Revive Action (1.16.x): pkg/plugin/serverconnector/proxy.go#L18
should have a package comment
Run Revive Action (1.16.x): api/provider_impl.go#L23
a blank import should be only in a main or test package, or have a comment justifying it
Run Revive Action (1.16.x): examples/route/nearby/consumer/main.go#L18
should have a package comment
Run Revive Action (1.16.x): benchmark/benchmain/main.go#L46
const operationRpcDirect should be operationRPCDirect