lint-fix:重构 #374
Annotations
10 errors
lint:
client/internal/cache/cache.go#L93
unused-parameter: parameter 'k' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
client/internal/cache/base.go#L59
unused-parameter: parameter 'v' 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#L27
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (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:
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#L13
var-naming: struct field SourceUid should be SourceUID (revive)
|
lint:
client/event/friend.go#L21
var-naming: struct field FromUid should be FromUID (revive)
|
lint:
client/event/friend.go#L30
var-naming: struct field Uid should be UID (revive)
|