Skip to content

feat: create delete assets API by query expr #337

feat: create delete assets API by query expr

feat: create delete assets API by query expr #337

Triggered via push August 8, 2024 11:40
Status Failure
Total duration 1m 32s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
golangci: core/asset/service.go#L12
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
golangci: pkg/translator/query_expr_translator.go#L24
ptrToRefParam: consider `node' to be of non-pointer type (gocritic)
golangci: core/asset/service.go#L12
File is not `gofumpt`-ed with `-extra` (gofumpt)
golangci: internal/store/postgres/asset_repository.go#L402
File is not `gofumpt`-ed with `-extra` (gofumpt)
golangci: internal/store/postgres/asset_repository.go#L428
File is not `gofumpt`-ed with `-extra` (gofumpt)
golangci: internal/store/postgres/asset_repository.go#L650
if-return: redundant if ...; err != nil check, just return error instead. (revive)
golangci: pkg/generic_helper/generic_helper.go#L1
ST1003: should not use underscores in package names (stylecheck)
golangci: pkg/translator/query_expr_translator.go#L19
ST1003: struct field SqlQuery should be SQLQuery (stylecheck)
golangci
issues found
golangci
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/