lint-fix:重构 #372
Annotations
10 errors
lint:
client/packets/oidb/group_folder_rename.go#L23
use of `print` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
lint:
utils/audio/info.go#L34
ifElseChain: rewrite if-else to switch statement (gocritic)
|
lint:
message/elements.go#L252
captLocal: `Summary' should not be capitalized (gocritic)
|
lint:
client/operation.go#L501
ifElseChain: rewrite if-else to switch statement (gocritic)
|
lint:
client/packets/wtlogin/qrcode_state/enum.go#L1
var-naming: don't use an underscore in package name (revive)
|
lint:
client/packets/wtlogin/login_state/enum.go#L1
var-naming: don't use an underscore in package name (revive)
|
lint:
client/entity/group_member.go#L13
var-naming: struct field Uid should be UID (revive)
|
lint:
client/entity/group_notice.go#L11
var-naming: struct field NoticeId should be NoticeID (revive)
|
lint:
client/entity/group_notice.go#L12
var-naming: struct field SenderId should be SenderID (revive)
|
lint:
client/entity/group_notice.go#L33
var-naming: struct field NoticeId should be NoticeID (revive)
|