Skip to content

feat: add gomall

feat: add gomall #172

Triggered via pull request January 4, 2024 03:14
Status Failure
Total duration 40s
Artifacts

pr-check.yml

on: pull_request
resolve module
2s
resolve module
compliant
19s
compliant
Matrix: lint module
Fit to window
Zoom out
Zoom in

Annotations

33 errors and 11 warnings
lint module (./gomall/app/order): gomall/app/order/conf/conf.go#L18
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint module (./gomall/app/order): gomall/app/order/biz/dal/mysql/init.go#L45
Error return value of `DB.AutoMigrate` is not checked (errcheck)
lint module (./gomall/app/order): gomall/app/order/biz/dal/redis/init.go#L24
File is not `gofumpt`-ed (gofumpt)
lint module (./gomall/app/order): gomall/app/order/infra/mtl/log.go#L42
Error return value of `output.Sync` is not checked (errcheck)
lint module (./gomall/app/order): gomall/app/order/infra/mtl/metric.go#L51
Error return value of `r.Deregister` is not checked (errcheck)
lint module (./gomall/app/order): gomall/app/order/infra/mtl/metric.go#L55
Error return value of `http.ListenAndServe` is not checked (errcheck)
lint module (./gomall/app/order): gomall/app/order/infra/mtl/tracing.go#L37
Error return value of `exporter.Shutdown` is not checked (errcheck)
lint module (./gomall/app/order)
issues found
lint module (./gomall/app/user)
The job was canceled because "_gomall_app_order" failed.
lint module (./gomall/app/user)
The operation was canceled.
lint module (./gomall/app/product)
The job was canceled because "_gomall_app_order" failed.
lint module (./gomall/app/product)
The operation was canceled.
lint module (./gomall/app/cart)
The job was canceled because "_gomall_app_order" failed.
lint module (./gomall/app/cart)
The operation was canceled.
lint module (./gomall/app/checkout)
The job was canceled because "_gomall_app_order" failed.
lint module (./gomall/app/checkout)
The operation was canceled.
lint module (./open-payment-platform)
The job was canceled because "_gomall_app_order" failed.
lint module (./open-payment-platform)
The operation was canceled.
lint module (./gomall/app/frontend)
The job was canceled because "_gomall_app_order" failed.
lint module (./gomall/app/frontend)
The operation was canceled.
lint module (./bookinfo)
The job was canceled because "_gomall_app_order" failed.
lint module (./bookinfo)
The operation was canceled.
lint module (./book-shop)
The job was canceled because "_gomall_app_order" failed.
lint module (./book-shop)
The operation was canceled.
lint module (./gomall/app/common)
The job was canceled because "_gomall_app_order" failed.
lint module (./gomall/app/common)
The operation was canceled.
lint module (./easy_note)
The job was canceled because "_gomall_app_order" failed.
lint module (./easy_note)
The operation was canceled.
lint module (./gomall/app/payment)
The job was canceled because "_gomall_app_order" failed.
lint module (./gomall/app/payment)
The operation was canceled.
compliant
Process completed with exit code 2.
resolve module
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
compliant: gomall/app/order/biz/model/order.go#L50
"Payed" should be "Paid".
compliant: gomall/app/order/biz/model/order.go#L50
"payed" should be "paid".
compliant: gomall/app/frontend/static/js/bootstrap.bundle.min.js#L6
"ot" should be "to" or "of" or "or" or "not".
compliant: gomall/app/frontend/static/js/bootstrap.bundle.min.js#L6
"ot" should be "to" or "of" or "or" or "not".
compliant: gomall/app/frontend/static/js/bootstrap.bundle.min.js#L6
"ot" should be "to" or "of" or "or" or "not".
compliant: gomall/app/frontend/static/js/bootstrap.bundle.min.js#L6
"ot" should be "to" or "of" or "or" or "not".
compliant: gomall/app/frontend/static/js/bootstrap.bundle.min.js#L6
"ot" should be "to" or "of" or "or" or "not".
compliant: gomall/app/frontend/static/js/bootstrap.bundle.min.js#L6
"ot" should be "to" or "of" or "or" or "not".
compliant: gomall/app/frontend/static/js/bootstrap.bundle.min.js#L6
"ot" should be "to" or "of" or "or" or "not".
compliant: gomall/app/frontend/static/js/bootstrap.bundle.min.js#L6
"ot" should be "to" or "of" or "or" or "not".