feat: add gomall #171
pr-check.yml
on: pull_request
resolve module
3s
compliant
15s
Matrix: lint module
Annotations
50 errors and 1 warning
lint module (./gomall/app/checkout):
gomall/app/checkout/biz/dal/mysql/init.go#L42
Error return value of `DB.AutoMigrate` is not checked (errcheck)
|
lint module (./gomall/app/checkout):
gomall/app/checkout/infra/mtl/log.go#L42
Error return value of `output.Sync` is not checked (errcheck)
|
lint module (./gomall/app/checkout):
gomall/app/checkout/infra/mtl/metric.go#L51
Error return value of `r.Deregister` is not checked (errcheck)
|
lint module (./gomall/app/checkout):
gomall/app/checkout/infra/mtl/metric.go#L55
Error return value of `http.ListenAndServe` is not checked (errcheck)
|
lint module (./gomall/app/checkout):
gomall/app/checkout/infra/mtl/tracing.go#L37
Error return value of `exporter.Shutdown` is not checked (errcheck)
|
lint module (./gomall/app/checkout):
gomall/app/checkout/biz/dal/redis/init.go#L24
File is not `gofumpt`-ed (gofumpt)
|
lint module (./gomall/app/checkout):
gomall/app/checkout/rpc/payment/payment_client.go#L18
File is not `gofumpt`-ed (gofumpt)
|
lint module (./gomall/app/checkout):
gomall/app/checkout/rpc/payment/payment_default.go#L18
File is not `gofumpt`-ed (gofumpt)
|
lint module (./gomall/app/checkout):
gomall/app/checkout/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/checkout)
issues found
|
lint module (./book-shop)
The job was canceled because "_gomall_app_checkout" failed.
|
lint module (./gomall/app/payment)
The job was canceled because "_gomall_app_checkout" failed.
|
lint module (./gomall/app/payment):
gomall/app/payment/biz/dal/mysql/init.go#L44
Error return value of `DB.AutoMigrate` is not checked (errcheck)
|
lint module (./gomall/app/payment):
gomall/app/payment/infra/mtl/log.go#L42
Error return value of `output.Sync` is not checked (errcheck)
|
lint module (./gomall/app/payment):
gomall/app/payment/infra/mtl/metric.go#L51
Error return value of `r.Deregister` is not checked (errcheck)
|
lint module (./gomall/app/payment):
gomall/app/payment/infra/mtl/metric.go#L55
Error return value of `http.ListenAndServe` is not checked (errcheck)
|
lint module (./gomall/app/payment):
gomall/app/payment/infra/mtl/tracing.go#L37
Error return value of `exporter.Shutdown` is not checked (errcheck)
|
lint module (./gomall/app/payment):
gomall/app/payment/biz/model/payment.go#L18
File is not `gofumpt`-ed (gofumpt)
|
lint module (./gomall/app/payment):
gomall/app/payment/biz/model/payment.go#L20
File is not `gofumpt`-ed (gofumpt)
|
lint module (./gomall/app/payment):
gomall/app/payment/biz/dal/init.go#L22
File is not `gofumpt`-ed (gofumpt)
|
lint module (./gomall/app/payment):
gomall/app/payment/biz/service/charge.go#L52
SA4006: this value of `err` is never used (staticcheck)
|
lint module (./gomall/app/payment):
gomall/app/payment/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/user)
The job was canceled because "_gomall_app_checkout" failed.
|
lint module (./gomall/app/user):
gomall/app/user/biz/dal/mysql/init.go#L48
Error return value of `DB.AutoMigrate` is not checked (errcheck)
|
lint module (./gomall/app/user):
gomall/app/user/infra/mtl/log.go#L42
Error return value of `output.Sync` is not checked (errcheck)
|
lint module (./gomall/app/user):
gomall/app/user/infra/mtl/metric.go#L51
Error return value of `r.Deregister` is not checked (errcheck)
|
lint module (./gomall/app/user):
gomall/app/user/infra/mtl/metric.go#L55
Error return value of `http.ListenAndServe` is not checked (errcheck)
|
lint module (./gomall/app/user):
gomall/app/user/infra/mtl/tracing.go#L37
Error return value of `exporter.Shutdown` is not checked (errcheck)
|
lint module (./gomall/app/user):
gomall/app/user/biz/dal/redis/init.go#L24
File is not `gofumpt`-ed (gofumpt)
|
lint module (./gomall/app/user):
gomall/app/user/biz/service/login_test.go#L41
File is not `gofumpt`-ed (gofumpt)
|
lint module (./gomall/app/frontend)
The job was canceled because "_gomall_app_checkout" failed.
|
lint module (./gomall/app/user):
gomall/app/user/biz/service/register_test.go#L18
File is not `gofumpt`-ed (gofumpt)
|
lint module (./gomall/app/frontend)
The operation was canceled.
|
lint module (./gomall/app/user):
gomall/app/user/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/user)
issues found
|
lint module (./gomall/app/order)
The job was canceled because "_gomall_app_checkout" failed.
|
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/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):
gomall/app/order/biz/dal/redis/init.go#L24
File is not `gofumpt`-ed (gofumpt)
|
lint module (./gomall/app/order):
gomall/app/order/biz/service/list_order_test.go#L38
File is not `gofumpt`-ed (gofumpt)
|
lint module (./gomall/app/order):
gomall/app/order/biz/service/place_order_test.go#L18
File is not `gofumpt`-ed (gofumpt)
|
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)
issues found
|
lint module (./gomall/app/product)
The job was canceled because "_gomall_app_checkout" failed.
|
lint module (./gomall/app/product)
The operation was canceled.
|
lint module (./gomall/app/cart)
The job was canceled because "_gomall_app_checkout" failed.
|
lint module (./gomall/app/cart)
The operation was canceled.
|
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/
|