Felix 11 Add handler unit test #63
Annotations
10 errors and 2 warnings
cmd/main.go#L102
The name 'interactor' shadows an import name
|
internal/app/entity/menu_entity.go#L20
struct field UserId should be UserID
|
database/database.go#L7
a blank import should be only in a main or test package, or have a comment justifying it
|
pkg/env/env.go#L11
don't use ALL_CAPS in Go names; use CamelCase
|
internal/app/service/auth_service_test.go#L204
don't use underscores in Go names; var user_data should be userData
|
internal/app/service/auth_service.go#L73
extra empty line at the end of a block
|
internal/app/repository/user_repository.go#L67
var lastId should be lastID
|
internal/app/api/server.go#L18
The name 'interactor' shadows an import name
|
internal/app/repository/menu_repository.go#L17
const queryUpdateActiveBatchMenuByUserId should be queryUpdateActiveBatchMenuByUserID
|
internal/app/repository/menu_repository.go#L16
const queryGetMenuByUserId should be queryGetMenuByUserID
|
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/.
|
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/
|
This job succeeded
Loading