Skip to content

fix:修复就近路由demo配置文件不对问题 (#167) #203

fix:修复就近路由demo配置文件不对问题 (#167)

fix:修复就近路由demo配置文件不对问题 (#167) #203

Triggered via push September 6, 2023 02:59
Status Success
Total duration 1m 40s
Artifacts

revive.yml

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

Annotations

60 warnings
Run Revive Action (1.15.x): plugin/logger/zaplog/logger.go#L18
should have a package comment
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/pb/metric/v2/code.go#L18
should have a package comment
Run Revive Action (1.15.x): pkg/model/pb/assist.go#L18
should have a package comment
Run Revive Action (1.15.x): pkg/model/pb/metric/v2/code.go#L22
exported type Code should have comment or be unexported
Run Revive Action (1.15.x): pkg/model/pb/routing.go#L59
redundant if ...; err != nil check, just return error instead.
Run Revive Action (1.15.x): pkg/network/conn.go#L78
parameter 'opKey' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.15.x): pkg/plugin/common/plugin.go#L18
should have a package comment
Run Revive Action (1.15.x): pkg/model/pb/assist.go#L49
exported const MatchAll should have comment (or a comment on this block) or be unexported
Run Revive Action (1.16.x): examples/extensions/zeroprotect/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/route/dynamic/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): examples/watch/instance/longpull/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): pkg/algorithm/rand/scalable_rand_test.go#L51
parameter 't' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.16.x): examples/route/nearby/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/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/configuration/encrypt/main.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/provider/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/ratelimit/consumer/main.go#L18
should have a package comment
Run Revive Action (1.18.x): plugin/logger/zaplog/logger.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): examples/route/dynamic/provider/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/route/dynamic/consumer/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/route/nearby/provider/main.go#L18
should have a package comment
Run Revive Action (1.20.x): pkg/flow/cbcheck/object.go#L18
should have a package comment
Run Revive Action (1.20.x): pkg/flow/configuration/config_flow.go#L18
should have a package comment
Run Revive Action (1.20.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.20.x): pkg/flow/configuration/file_repo.go#L84
exported method ConfigFileRepo.GetNotifiedVersion should have comment or be unexported
Run Revive Action (1.20.x): pkg/flow/detect/object.go#L18
should have a package comment
Run Revive Action (1.20.x): pkg/flow/detect/ticker.go#L111
context.Context should be the first parameter of a function
Run Revive Action (1.20.x): pkg/flow/data/compare.go#L18
should have a package comment
Run Revive Action (1.20.x): pkg/network/conn.go#L78
parameter 'opKey' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.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.20.x): pkg/flow/cbcheck/ticker.go#L60
parameter 'taskValue' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.19.x): pkg/flow/detect/object.go#L18
should have a package comment
Run Revive Action (1.19.x): pkg/flow/detect/ticker.go#L76
parameter 'taskValue' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.19.x): pkg/flow/detect/ticker.go#L76
parameter 'lastProcessTime' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.19.x): pkg/flow/registerstate/register_flow.go#L18
should have a package comment
Run Revive Action (1.19.x): pkg/model/pb/assist.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.19.x): pkg/model/pb/routing.go#L66
parameter 'direction' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.19.x): pkg/model/pb/metric/v2/code.go#L18
should have a package comment
Run Revive Action (1.19.x): pkg/network/conn.go#L78
parameter 'opKey' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.19.x): pkg/plugin/common/plugin.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/cbcheck/ticker.go#L60
parameter 'taskValue' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.17.x): pkg/flow/cbcheck/ticker.go#L88
parameter 'event' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.17.x): benchmark/benchmain/main.go#L46
const operationRpcDirect should be operationRPCDirect
Run Revive Action (1.17.x): examples/activehealthcheck/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): pkg/model/local/value.go#L18
should have a package comment
Run Revive Action (1.17.x): pkg/model/pb/metric/code.go#L18
should have a package comment
Run Revive Action (1.17.x): pkg/model/pb/metric/v2/code.go#L18
should have a package comment
Run Revive Action (1.17.x): pkg/plugin/manage.go#L18
should have a package comment