Felix 11 Update workflow using github token #78
Annotations
10 errors and 2 warnings
Lint and Test:
pkg/env/env.go#L11
don't use ALL_CAPS in Go names; use CamelCase
|
Lint and Test:
internal/app/api/middleware/jwt_auth.go#L77
unnamed results of the same type may be confusing, consider using named results
|
Lint and Test:
internal/app/repository/menu_repository.go#L16
const queryGetMenuByUserId should be queryGetMenuByUserID
|
Lint and Test:
internal/app/repository/user_repository.go#L67
var lastId should be lastID
|
Lint and Test:
internal/app/api/server.go#L18
The name 'interactor' shadows an import name
|
Lint and Test:
internal/app/repository/menu_repository.go#L17
const queryUpdateActiveBatchMenuByUserId should be queryUpdateActiveBatchMenuByUserID
|
Lint and Test:
internal/app/service/auth_service.go#L73
extra empty line at the end of a block
|
Lint and Test:
internal/app/repository/menu_repository.go#L18
const queryUpdateMenuActiveByMenuId should be queryUpdateMenuActiveByMenuID
|
Lint and Test:
cmd/main.go#L102
The name 'interactor' shadows an import name
|
Lint and Test:
internal/app/repository/menu_repository.go#L108
var lastId should be lastID
|
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/
|