Skip to content

lint-fix:重构

lint-fix:重构 #376

Triggered via pull request November 9, 2024 12:18
Status Failure
Total duration 44s
Artifacts

test_and_lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: client/internal/cache/base.go#L59
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
lint: client/internal/cache/cache.go#L93
unused-parameter: parameter 'k' seems to be unused, consider removing or renaming it as _ (revive)
lint: utils/audio/type.go#L3
exported: type name will be used as audio.AudioType by other packages, and that stutters; consider calling this Type (revive)
lint: utils/audio/info.go#L62
superfluous-else: if block ends with a break statement, so drop this else and outdent its block (revive)
lint: utils/audio/info.go#L27
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: client/internal/highway/highway.go#L23
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
lint: client/internal/highway/highway.go#L24
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
lint: client/event/friend.go#L105
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: client/event/group.go#L129
var-naming: type JsonParam should be JSONParam (revive)
lint: client/event/group.go#L133
var-naming: struct field Url should be URL (revive)