Skip to content

feat:support user custom sdk labels #264

feat:support user custom sdk labels

feat:support user custom sdk labels #264

Triggered via pull request January 8, 2024 16:45
Status Success
Total duration 2m 28s
Artifacts

revive.yml

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

Annotations

60 warnings
Run Revive Action (1.15.x): plugin/location/remotehttp/remotehttp.go#L18
should have a package comment
Run Revive Action (1.15.x): plugin/loadbalancer/maglev/config.go#L18
should have a package comment
Run Revive Action (1.15.x): plugin/loadbalancer/common/half_open.go#L18
should have a package comment
Run Revive Action (1.15.x): plugin/configconnector/polaris/config.go#L19
should have a package comment
Run Revive Action (1.15.x): plugin/healthcheck/tcp/config.go#L18
should have a package comment
Run Revive Action (1.15.x): plugin/configfilter/crypto/config.go#L19
should have a package comment
Run Revive Action (1.15.x): plugin/configfilter/crypto/aes/aes.go#L19
should have a package comment
Run Revive Action (1.15.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.18.x): pkg/plugin/circuitbreaker/proxy.go#L32
comment on exported method Proxy.CheckResource should be of the form "CheckResource ..."
Run Revive Action (1.18.x): pkg/model/pb/metric/v2/code.go#L18
should have a package comment
Run Revive Action (1.18.x): pkg/plugin/circuitbreaker/proxy.go#L37
comment on exported method Proxy.Report should be of the form "Report ..."
Run Revive Action (1.18.x): pkg/model/pb/metric/v2/code.go#L22
exported type Code should have comment or be unexported
Run Revive Action (1.18.x): pkg/model/local/value.go#L18
should have a package comment
Run Revive Action (1.18.x): pkg/model/pb/metric/v2/code.go#L31
comment on exported const ExecuteContinue should be of the form "ExecuteContinue ..."
Run Revive Action (1.18.x): pkg/model/pb/metric/v2/code.go#L29
comment on exported const ExecuteSuccess should be of the form "ExecuteSuccess ..."
Run Revive Action (1.18.x): pkg/model/pb/metric/v2/code.go#L35
comment on exported const InvalidServiceName should be of the form "InvalidServiceName ..."
Run Revive Action (1.18.x): pkg/model/pb/metric/v2/code.go#L33
comment on exported const ParseException should be of the form "ParseException ..."
Run Revive Action (1.19.x): examples/watch/service/notify/main.go#L48
comment on exported method TestListener.OnServicesUpdate should be of the form "OnServicesUpdate ..."
Run Revive Action (1.19.x): examples/watch/service/notify/main.go#L44
exported type TestListener should have comment or be unexported
Run Revive Action (1.19.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.19.x): examples/watch/service/notify/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): plugin/circuitbreaker/composite/trigger/err_rate.go#L53
exported type ErrRateCounter should have comment or be unexported
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): examples/watch/instance/notify/main.go#L76
exported type TestListener should have comment or be unexported
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.17.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.17.x): plugin/loadbalancer/common/half_open.go#L18
should have a package comment
Run Revive Action (1.17.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.17.x): pkg/plugin/ratelimiter/model.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/configuration/group/main.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): 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.20.x): examples/activehealthcheck/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): examples/configuration/fallback/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/ratelimit/consumer/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/configuration/group/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/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/extensions/zeroprotect/main.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/plugin/serverconnector/proxy.go#L18
should have a package comment
Run Revive Action (1.16.x): pkg/plugin/location/location.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): pkg/plugin/healthcheck/healthcheck.go#L18
should have a package comment
Run Revive Action (1.16.x): pkg/plugin/metrics/proxy.go#L18
should have a package comment
Run Revive Action (1.16.x): plugin/loadbalancer/hash/config.go#L18
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): pkg/model/pb/metric/v2/code.go#L18
should have a package comment