Skip to content

feat: support configuration file operation api (#175) #214

feat: support configuration file operation api (#175)

feat: support configuration file operation api (#175) #214

Triggered via push October 7, 2023 03:21
Status Success
Total duration 1m 9s
Artifacts

revive.yml

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

Annotations

60 warnings
Run Revive Action (1.18.x): pkg/plugin/serverconnector/proxy.go#L18
should have a package comment
Run Revive Action (1.18.x): pkg/plugin/weightadjuster/proxy.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.18.x): pkg/plugin/register/plugins.go#L18
should have a package comment
Run Revive Action (1.18.x): pkg/stat/plugin/plug.go#L18
should have a package comment
Run Revive Action (1.18.x): plugin/circuitbreaker/errorcheck/err_check.go#L65
parameter 'cfg' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.18.x): examples/circuitbreaker/consumer/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/circuitbreaker/provider/main.go#L17
should have a package comment
Run Revive Action (1.18.x): plugin/configconnector/polaris/creator.go#L65
parameter 'info' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.18.x): examples/configuration/crud/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/extensions/zeroprotect/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/circuitbreaker/provider/main.go#L17
should have a package comment
Run Revive Action (1.16.x): examples/configuration/crud/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): 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): benchmark/benchmain/main.go#L46
const operationRpcDirect should be operationRPCDirect
Run Revive Action (1.16.x): examples/activehealthcheck/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.19.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/extensions/zeroprotect/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/route/dynamic/consumer/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/route/dynamic/provider/main.go#L18
should have a package comment
Run Revive Action (1.19.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.19.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.19.x): pkg/algorithm/hash/base.go#L32
type name will be used as hash.HashFuncWithSeed by other packages, and that stutters; consider calling this FuncWithSeed
Run Revive Action (1.19.x): examples/watchinstance/main.go#L18
should have a package comment
Run Revive Action (1.19.x): pkg/config/api.go#L18
should have a package comment
Run Revive Action (1.15.x): pkg/model/pb/metric/code.go#L28
exported const ExecuteSuccess should have comment (or a comment on this block) or be unexported
Run Revive Action (1.15.x): pkg/model/pb/metric/code.go#L18
should have a package comment
Run Revive Action (1.15.x): pkg/model/local/value.go#L18
should have a package comment
Run Revive Action (1.15.x): pkg/plugin/configfilter/configfilter.go#L19
should have a package comment
Run Revive Action (1.15.x): pkg/plugin/healthcheck/healthcheck.go#L18
should have a package comment
Run Revive Action (1.15.x): pkg/plugin/loadbalancer/util.go#L25
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.15.x): pkg/plugin/localregistry/localregistry.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/circuitbreaker/consumer/main.go#L18
should have a package comment
Run Revive Action (1.15.x): pkg/plugin/location/proxy.go#L26
exported type Proxy should have comment or be unexported
Run Revive Action (1.20.x): pkg/flow/startup/server_service.go#L56
parameter 'taskKey' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.x): pkg/flow/startup/server_service.go#L111
parameter 'event' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.x): pkg/flow/startup/client_report.go#L18
should have a package comment
Run Revive Action (1.20.x): pkg/model/pb/assist.go#L18
should have a package comment
Run Revive Action (1.20.x): pkg/model/pb/routing.go#L59
redundant if ...; err != nil check, just return error instead.
Run Revive Action (1.20.x): pkg/plugin/common/plugin.go#L18
should have a package comment
Run Revive Action (1.20.x): pkg/model/local/value.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/route/dynamic/provider/main.go#L18
should have a package comment
Run Revive Action (1.17.x): pkg/flow/cbcheck/object.go#L18
should have a package comment
Run Revive Action (1.17.x): pkg/flow/configuration/config_flow.go#L18
should have a package comment
Run Revive Action (1.17.x): pkg/flow/data/compare.go#L18
should have a package comment
Run Revive Action (1.17.x): pkg/flow/detect/object.go#L18
should have a package comment
Run Revive Action (1.17.x): pkg/flow/configuration/type.go#L23
exported const NotExistedFileContent should have comment (or a comment on this block) or be unexported
Run Revive Action (1.17.x): pkg/log/default.go#L18
should have a package comment
Run Revive Action (1.17.x): pkg/metric/bucket.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): benchmark/benchsimple/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/circuitbreaker/provider/main.go#L17
should have a package comment