Skip to content

feat: configAPI support return config version (#265) #380

feat: configAPI support return config version (#265)

feat: configAPI support return config version (#265) #380

Triggered via push December 24, 2025 03:04
Status Success
Total duration 5m 2s
Artifacts

revive.yml

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

Annotations

40 warnings
Run Revive Action (1.22.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.22.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.22.x): examples/watchinstance/main.go#L18
should have a package comment
Run Revive Action (1.22.x): examples/configuration/group/main.go#L18
should have a package comment
Run Revive Action (1.22.x): pkg/plugin/common/plugin.go#L18
avoid meaningless package names
Run Revive Action (1.22.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.22.x): examples/route/metadata/provider/main.go#L18
should have a package comment
Run Revive Action (1.22.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.22.x): examples/configuration/fallback/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/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.20.x): benchmark/benchmain/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/configuration/crud/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): benchmark/benchsimple/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/watchinstance/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/watch/service/notify/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/watch/service/longpull/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/watch/instance/notify/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/mock/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/ratelimit/provider-b/main.go#L18
should have a package comment
Run Revive Action (1.19.x): pkg/clock/clock.go#L77
exported function CurrentMillis should have comment or be unexported
Run Revive Action (1.21.x): pkg/model/pb/metric/v2/code.go#L18
should have a package comment
Run Revive Action (1.21.x): examples/route/metadata/provider/main.go#L124
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.21.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.21.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.21.x): examples/circuitbreaker/instance/consumer/main.go#L116
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.21.x): examples/route/metadata/consumer/main.go#L83
if block ends with call to log.Fatalf function, so drop this else and outdent its block
Run Revive Action (1.21.x): examples/configuration/fallback/main.go#L18
should have a package comment
Run Revive Action (1.21.x): pkg/plugin/serverconnector/proxy.go#L18
should have a package comment
Run Revive Action (1.21.x): pkg/plugin/ratelimiter/model.go#L18
should have a package comment
Run Revive Action (1.21.x): pkg/plugin/metrics/proxy.go#L18
should have a package comment