Skip to content

refactory of birdwatch #391

refactory of birdwatch

refactory of birdwatch #391

Triggered via pull request October 18, 2023 23:48
Status Failure
Total duration 3m 6s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
lint: states/etcd/common/segment.go#L110
File is not `goimports`-ed (goimports)
lint: states/etcd/common/user.go#L8
File is not `goimports`-ed (goimports)
lint: states/etcd/commands.go#L112
printf: fmt.Println call has possible formatting directive %s (govet)
lint
issues found
lint: states/kv/kv.go#L300
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: states/kv/txn_tikv_test.go#L262
var-naming: don't use underscores in Go names; var scan_size should be scanSize (revive)
lint: states/kv/kv.go#L18
blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)
lint: states/kv/main_test.go#L71
var-naming: don't use underscores in Go names; func parameter use_remote should be useRemote (revive)
lint: states/kv/kv.go#L368
var-naming: don't use underscores in Go names; var str_val should be strVal (revive)
lint: states/kv/kv.go#L390
var-naming: don't use underscores in Go names; var byte_value should be byteValue (revive)
lint: states/etcd/common/collection.go#L141
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: states/etcd/show/legacy_qc_task.go#L51
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
lint: states/etcd/show/legacy_qc_task.go#L77
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
lint: states/etcd_connect.go#L54
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)