Skip to content

新增插件银行 #1901

新增插件银行

新增插件银行 #1901

Triggered via pull request September 2, 2025 06:16
@6xzyz6xzyz
reopened #1194
Status Failure
Total duration 1m 1s
Artifacts

pull.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: plugin/bank/model.go#L30
exported: type name will be used as bank.BankAccount by other packages, and that stutters; consider calling this Account (revive)
lint: plugin/bank/storage.go#L34
exported: comment on exported function GetOrCreateAccount should be of the form "GetOrCreateAccount ..." (revive)
lint: plugin/bank/storage.go#L606
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: plugin/bank/model.go#L5
exported: exported type Buff should have comment or be unexported (revive)
lint: plugin/bank/main.go#L37
exported: exported const RebirthBuffName should have comment (or a comment on this block) or be unexported (revive)
lint: plugin/bank/main.go#L19
exported: comment on exported const LoanDailyRate should be of the form "LoanDailyRate ..." (revive)
lint: plugin/bank/bank.go#L1
package-comments: should have a package comment (revive)
lint: plugin/bank/command.go#L278
Error return value is not checked (errcheck)
lint: plugin/bank/command.go#L198
Error return value is not checked (errcheck)
lint: plugin/bank/command.go#L152
Error return value is not checked (errcheck)
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/ZeroBot-Plugin/ZeroBot-Plugin. Supported file pattern: go.sum