Skip to content

fix:动态路由中,支持destination的值'*'匹配 #227

fix:动态路由中,支持destination的值'*'匹配

fix:动态路由中,支持destination的值'*'匹配 #227

Re-run triggered October 18, 2023 03:24
Status Success
Total duration 1m 8s
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/circuitbreaker/consumer/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): pkg/flow/registerstate/register_flow.go#L41
exported function NewRegisterStateManager should have comment or be unexported
Run Revive Action (1.20.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/configuration/fallback/main.go#L18
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): examples/quickstart/consumer/main.go#L18
should have a package comment
Run Revive Action (1.20.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.20.x): examples/ratelimit/provider/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/watch/instance/longpull/main.go#L18
should have a package comment
Run Revive Action (1.18.x): pkg/plugin/servicerouter/util.go#L58
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.18.x): pkg/plugin/servicerouter/util.go#L152
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.18.x): pkg/plugin/servicerouter/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): pkg/plugin/metrics/proxy.go#L18
should have a package comment
Run Revive Action (1.18.x): benchmark/benchsimple/main.go#L71
var maxQps should be maxQPS
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): plugin/loadbalancer/hash/config.go#L18
should have a package comment
Run Revive Action (1.18.x): plugin/loadbalancer/weightedrandom/wr.go#L65
parameter 'ignoreHalfOpen' 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.15.x): benchmark/benchmain/main.go#L46
const operationRpcDirect should be operationRPCDirect
Run Revive Action (1.15.x): benchmark/benchmain/main.go#L47
const operationRpcNaming should be operationRPCNaming
Run Revive Action (1.15.x): benchmark/benchsimple/main.go#L71
var maxQps should be maxQPS
Run Revive Action (1.15.x): benchmark/benchmain/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): 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/extensions/zeroprotect/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/quickstart/provider/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/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/configuration/fallback/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/quickstart/provider/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): benchmark/benchmain/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/route/dynamic/consumer/main.go#L18
should have a package comment
Run Revive Action (1.16.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): benchmark/benchsimple/main.go#L71
var maxQps should be maxQPS
Run Revive Action (1.19.x): benchmark/benchsimple/main.go#L181
struct field maxQps should be maxQPS
Run Revive Action (1.19.x): examples/circuitbreaker/provider/main.go#L17
should have a package comment
Run Revive Action (1.19.x): examples/configuration/crud/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/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.19.x): pkg/model/local/value.go#L18
should have a package comment
Run Revive Action (1.19.x): pkg/log/default.go#L18
should have a package comment
Run Revive Action (1.19.x): pkg/model/pb/metric/code.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/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.17.x): examples/ratelimit/consumer/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/ratelimit/provider/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/route/dynamic/consumer/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/flow/configuration/config_flow.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/watch/instance/longpull/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/watch/instance/notify/main.go#L18
should have a package comment