Skip to content

feat: support configuration file operation api #213

feat: support configuration file operation api

feat: support configuration file operation api #213

Re-run triggered October 7, 2023 02:53
Status Success
Total duration 1m 7s
Artifacts

revive.yml

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

Annotations

60 warnings
Run Revive Action (1.17.x): plugin/weightadjuster/ratedelay/ratedelay.go#L58
parameter 'service' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.17.x): pkg/plugin/configfilter/configfilter.go#L19
should have a package comment
Run Revive Action (1.17.x): pkg/plugin/healthcheck/healthcheck.go#L18
should have a package comment
Run Revive Action (1.17.x): pkg/plugin/loadbalancer/util.go#L25
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.17.x): pkg/plugin/loadbalancer/loadbalancer.go#L18
should have a package comment
Run Revive Action (1.17.x): pkg/plugin/location/location.go#L27
exported const ProviderName should have comment (or a comment on this block) or be unexported
Run Revive Action (1.17.x): pkg/plugin/localregistry/localregistry.go#L18
should have a package comment
Run Revive Action (1.17.x): pkg/plugin/metrics/proxy.go#L18
should have a package comment
Run Revive Action (1.17.x): pkg/plugin/location/proxy.go#L26
exported type Proxy should have comment or be unexported
Run Revive Action (1.18.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/configuration/crud/main.go#L18
should have a package comment
Run Revive Action (1.18.x): plugin/servicerouter/setdivision/base.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/extensions/zeroprotect/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/quickstart/consumer/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/ratelimit/provider/main.go#L18
should have a package comment
Run Revive Action (1.18.x): test/common/constant.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/watch/instance/notify/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/watch/service/longpull/main.go#L18
should have a package comment
Run Revive Action (1.16.x): pkg/plugin/weightadjuster/proxy.go#L18
should have a package comment
Run Revive Action (1.16.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.16.x): pkg/stat/loadbalance/lb.go#L18
should have a package comment
Run Revive Action (1.16.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.16.x): plugin/circuitbreaker/common/half_open.go#L135
exported const ToClose should have comment (or a comment on this block) or be unexported
Run Revive Action (1.16.x): benchmark/benchsimple/main.go#L89
comment on exported type Durations should be of the form "Durations ..." (with optional leading article)
Run Revive Action (1.16.x): plugin/healthcheck/tcp/config.go#L18
should have a package comment
Run Revive Action (1.16.x): plugin/loadbalancer/maglev/config.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.19.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.19.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.19.x): examples/circuitbreaker/consumer/main.go#L18
should have a package comment
Run Revive Action (1.19.x): api/config.go#L42
a blank import should be only in a main or test package, or have a comment justifying it
Run Revive Action (1.19.x): examples/configuration/crud/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/activehealthcheck/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/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.19.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.19.x): pkg/plugin/servicerouter/proxy.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/route/nearby/provider/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/circuitbreaker/provider/main.go#L17
should have a package comment
Run Revive Action (1.15.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.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): examples/extensions/zeroprotect/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/quickstart/consumer/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/ratelimit/consumer/main.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): pkg/flow/cbcheck/ticker.go#L60
parameter 'taskValue' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.x): examples/ratelimit/consumer/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/ratelimit/provider/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/route/dynamic/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/route/nearby/consumer/main.go#L18
should have a package comment
Run Revive Action (1.20.x): plugin/configfilter/crypto/config.go#L19
should have a package comment
Run Revive Action (1.20.x): examples/watch/instance/notify/main.go#L76
exported type TestListener should have comment or be unexported
Run Revive Action (1.20.x): plugin/loadbalancer/hash/config.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