Skip to content

fix get content

fix get content #217

Re-run triggered October 12, 2023 06:29
Status Success
Total duration 1m 4s
Artifacts

revive.yml

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

Annotations

60 warnings
Run Revive Action (1.18.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.18.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.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): examples/configuration/crud/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/configuration/normal/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/extensions/zeroprotect/main.go#L18
should have a package comment
Run Revive Action (1.18.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.15.x): benchmark/benchsimple/main.go#L18
should have a package comment
Run Revive Action (1.15.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.15.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.15.x): benchmark/benchsimple/main.go#L71
var maxQps should be maxQPS
Run Revive Action (1.15.x): examples/quickstart/consumer/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/quickstart/provider/main.go#L18
should have a package comment
Run Revive Action (1.15.x): benchmark/benchsimple/main.go#L181
struct field maxQps should be maxQPS
Run Revive Action (1.15.x): examples/circuitbreaker/consumer/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/ratelimit/provider/main.go#L18
should have a package comment
Run Revive Action (1.20.x): benchmark/benchmain/main.go#L46
const operationRpcDirect should be operationRPCDirect
Run Revive Action (1.20.x): benchmark/benchmain/main.go#L47
const operationRpcNaming should be operationRPCNaming
Run Revive Action (1.20.x): examples/configuration/normal/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/circuitbreaker/provider/main.go#L17
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/quickstart/provider/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): api/consumer_impl.go#L29
a blank import should be only in a main or test package, or have a comment justifying it
Run Revive Action (1.20.x): examples/watch/instance/notify/main.go#L76
exported type TestListener should have comment or be unexported
Run Revive Action (1.16.x): benchmark/benchsimple/main.go#L18
should have a package comment
Run Revive Action (1.16.x): benchmark/benchsimple/main.go#L71
var maxQps should be maxQPS
Run Revive Action (1.16.x): benchmark/benchsimple/main.go#L181
struct field maxQps should be maxQPS
Run Revive Action (1.16.x): benchmark/benchsimple/main.go#L239
func runQpsLimitFeature should be runQPSLimitFeature
Run Revive Action (1.16.x): examples/activehealthcheck/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/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/ratelimit/provider/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.17.x): examples/extensions/zeroprotect/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/quickstart/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/configuration/encrypt/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): examples/circuitbreaker/consumer/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/route/nearby/provider/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
Run Revive Action (1.17.x): examples/configuration/normal/main.go#L18
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/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/circuitbreaker/consumer/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): plugin/circuitbreaker/errorcheck/err_check.go#L65
parameter 'cfg' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.19.x): examples/extensions/zeroprotect/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/ratelimit/consumer/main.go#L18
should have a package comment
Run Revive Action (1.19.x): plugin/configfilter/crypto/config.go#L19
should have a package comment
Run Revive Action (1.19.x): plugin/configfilter/crypto/rsa/rsa.go#L30
type name will be used as rsa.RSAKey by other packages, and that stutters; consider calling this Key