Skip to content

Merge pull request #231 from sak0/fix_deleteUnused #321

Merge pull request #231 from sak0/fix_deleteUnused

Merge pull request #231 from sak0/fix_deleteUnused #321

Triggered via push February 6, 2025 02:18
Status Success
Total duration 41s
Artifacts

revive.yml

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

Annotations

60 warnings
Run Revive Action (1.17.x): examples/circuitbreaker/instance/provider/main.go#L73
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.17.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/route/nearby/consumer/main.go#L73
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.17.x): examples/configuration/fallback/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): pkg/algorithm/rand/scalable_rand_test.go#L51
parameter 't' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.17.x): examples/quickstart/provider/main.go#L73
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.17.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.17.x): benchmark/benchmain/main.go#L325
parameter 'pos' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.18.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/configuration/group/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/watch/instance/longpull/main.go#L88
should omit type uint64 from declaration of var index; it will be inferred from the right-hand side
Run Revive Action (1.18.x): benchmark/benchsimple/main.go#L71
var maxQps should be maxQPS
Run Revive Action (1.18.x): examples/watch/service/notify/main.go#L44
exported type TestListener should have comment or be unexported
Run Revive Action (1.18.x): benchmark/benchsimple/main.go#L181
struct field maxQps should be maxQPS
Run Revive Action (1.18.x): examples/configuration/fallback/main.go#L18
should have a package comment
Run Revive Action (1.18.x): benchmark/benchsimple/main.go#L239
func runQpsLimitFeature should be runQPSLimitFeature
Run Revive Action (1.18.x): examples/watch/service/notify/main.go#L48
comment on exported method TestListener.OnServicesUpdate should be of the form "OnServicesUpdate ..."
Run Revive Action (1.18.x): benchmark/benchsimple/main.go#L414
var useQpsLimit should be useQPSLimit
Run Revive Action (1.15.x): examples/configuration/crud/main.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/loadbalancer/consumer/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/loadbalancer/provider/main.go#L18
should have a package comment
Run Revive Action (1.15.x): benchmark/benchsimple/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/mock/main.go#L1
invalid file examples/mock/main.go: examples/mock/main.go:69:13: expected ';', found 0 (and 1 more errors)
Run Revive Action (1.16.x): examples/mock/main.go#L1
invalid file examples/mock/main.go: examples/mock/main.go:69:13: expected ';', found 0 (and 1 more errors)
Run Revive Action (1.16.x): pkg/plugin/circuitbreaker/proxy.go#L32
comment on exported method Proxy.CheckResource should be of the form "CheckResource ..."
Run Revive Action (1.16.x): pkg/plugin/circuitbreaker/proxy.go#L37
comment on exported method Proxy.Report should be of the form "Report ..."
Run Revive Action (1.16.x): pkg/plugin/common/plugin.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/watch/instance/longpull/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/watchinstance/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/watch/instance/notify/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/quickstart/consumer/main.go#L74
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.16.x): pkg/plugin/healthcheck/healthcheck.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/circuitbreaker/interface/consumer/main.go#L75
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.19.x): examples/circuitbreaker/instance/provider/main.go#L73
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.19.x): plugin/loadbalancer/hash/config.go#L18
should have a package comment
Run Revive Action (1.19.x): plugin/healthcheck/tcp/config.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.19.x): pkg/plugin/metrics/proxy.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/mock/main.go#L1
invalid file examples/mock/main.go: examples/mock/main.go:69:13: expected ';', found 0 (and 1 more errors)
Run Revive Action (1.19.x): examples/loadbalancer/consumer/main.go#L18
should have a package comment
Run Revive Action (1.20.x): pkg/stat/loadbalance/lb.go#L27
type name will be used as loadbalance.LoadBalanceGauge by other packages, and that stutters; consider calling this Gauge
Run Revive Action (1.20.x): pkg/stat/loadbalance/lb.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/watch/service/longpull/main.go#L52
should omit type uint64 from declaration of var index; it will be inferred from the right-hand side
Run Revive Action (1.20.x): pkg/stat/plugin/plug.go#L29
type name will be used as plugin.PluginAPI by other packages, and that stutters; consider calling this API
Run Revive Action (1.20.x): examples/watch/service/notify/main.go#L44
exported type TestListener should have comment or be unexported
Run Revive Action (1.20.x): pkg/algorithm/rand/scalable_rand_test.go#L51
parameter 't' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.x): examples/quickstart/consumer/main.go#L74
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.x): examples/circuitbreaker/service/provider/main.go#L75
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.20.x): plugin/configfilter/crypto/rsa/rsa.go#L30
type name will be used as rsa.RSAKey by other packages, and that stutters; consider calling this Key