iter1 #10
Annotations
9 errors and 1 warning
lint:
internal/adapter/api/router/router_test.go#L27
ST1003: var databaseUrl should be databaseURL (stylecheck)
|
lint:
internal/adapter/api/router/router_test.go#L31
directive `//nolint:typecheck // dockertest is defined` is unused for linter "typecheck" (nolintlint)
|
lint:
internal/adapter/api/router/router_test.go#L43
directive `//nolint:typecheck // dockertest is defined` is unused for linter "typecheck" (nolintlint)
|
lint:
internal/adapter/api/router/router_test.go#L67
Error return value of `resource.Expire` is not checked (errcheck)
|
lint:
internal/adapter/api/router/router_test.go#L74
error returned from external package is unwrapped: sig: func database/sql.Open(driverName string, dataSourceName string) (*database/sql.DB, error) (wrapcheck)
|
lint:
internal/adapter/api/router/router_test.go#L76
error returned from external package is unwrapped: sig: func (*database/sql.DB).Ping() error (wrapcheck)
|
lint:
internal/adapter/api/router/router_test.go#L81
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint:
internal/adapter/api/router/router_test.go#L130
line is 705 characters (lll)
|
lint
issues found
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|