refactor: 添加更友好的提示和判断,并在失败时回滚数据库处理 #74
Annotations
9 errors and 1 warning
GolangCI-Lint:
migrate/v150_attrs.go#L435
Error return value of `tx.Rollback` is not checked (errcheck)
|
GolangCI-Lint:
migrate/v150_attrs.go#L438
Error return value of `tx.Rollback` is not checked (errcheck)
|
GolangCI-Lint:
migrate/v150_attrs.go#L467
shadow: declaration of "err" shadows declaration at line 423 (govet)
|
GolangCI-Lint:
main.go#L334
shadow: declaration of "err" shadows declaration at line 218 (govet)
|
GolangCI-Lint:
main.go#L356
shadow: declaration of "err" shadows declaration at line 218 (govet)
|
GolangCI-Lint:
main.go#L371
shadow: declaration of "err" shadows declaration at line 218 (govet)
|
GolangCI-Lint:
main.go#L381
shadow: declaration of "err" shadows declaration at line 218 (govet)
|
GolangCI-Lint:
main.go#L402
shadow: declaration of "err" shadows declaration at line 218 (govet)
|
GolangCI-Lint
issues found
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading