Skip to content

Increase test coverage #52

Increase test coverage

Increase test coverage #52

Triggered via pull request June 23, 2024 13:35
Status Success
Total duration 1m 19s
Artifacts

code-checker.yml

on: pull_request
Lint and Test
1m 8s
Lint and Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Lint and Test: internal/app/api/middleware/jwt_auth.go#L68
unnamed results of the same type may be confusing, consider using named results
Lint and Test: pkg/env/env.go#L11
don't use ALL_CAPS in Go names; use CamelCase
Lint and Test: internal/app/service/user_service.go#L73
extra empty line at the end of a block
Lint and Test: cmd/main.go#L102
The name 'interactor' shadows an import name
Lint and Test: internal/app/service/user_service_test.go#L203
don't use underscores in Go names; var user_data should be userData
Lint and Test: internal/app/repository/user_repository.go#L67
var lastId should be lastID
Lint and Test: internal/app/repository/menu_repository.go#L17
const queryUpdateActiveBatchMenuByUserId should be queryUpdateActiveBatchMenuByUserID
Lint and Test: internal/app/repository/menu_repository.go#L16
const queryGetMenuByUserId should be queryGetMenuByUserID
Lint and Test: internal/app/repository/menu_repository.go#L19
const queryUpdateMenuByMenuId should be queryUpdateMenuByMenuID
Lint and Test: internal/app/repository/menu_repository.go#L18
const queryUpdateMenuActiveByMenuId should be queryUpdateMenuActiveByMenuID
Lint and Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint and Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/