test: 修复账号共享与前端模型用量验证 #59
Annotations
20 errors and 1 warning
|
test
cannot use repo (variable of type *proxyRepoStubForAdminList) as ProxyRepository value in struct literal: *proxyRepoStubForAdminList does not implement ProxyRepository (missing method FindVisibleActiveByEndpoint)
|
|
test
cannot use repo (variable of type *proxyRepoStubForAdminList) as ProxyRepository value in struct literal: *proxyRepoStubForAdminList does not implement ProxyRepository (missing method FindVisibleActiveByEndpoint)
|
|
test
cannot use proxyRepo (variable of type *proxyRepoStubForAccountLimit) as ProxyRepository value in struct literal: *proxyRepoStubForAccountLimit does not implement ProxyRepository (missing method FindVisibleActiveByEndpoint)
|
|
test
cannot use proxyRepo (variable of type *proxyRepoStubForAccountLimit) as ProxyRepository value in struct literal: *proxyRepoStubForAccountLimit does not implement ProxyRepository (missing method FindVisibleActiveByEndpoint)
|
|
test
cannot use proxyRepo (variable of type *proxyRepoStubForAccountLimit) as ProxyRepository value in struct literal: *proxyRepoStubForAccountLimit does not implement ProxyRepository (missing method FindVisibleActiveByEndpoint)
|
|
test
cannot use repo (variable of type *proxyRepoStub) as ProxyRepository value in struct literal: *proxyRepoStub does not implement ProxyRepository (missing method FindVisibleActiveByEndpoint)
|
|
test
cannot use repo (variable of type *proxyRepoStub) as ProxyRepository value in struct literal: *proxyRepoStub does not implement ProxyRepository (missing method FindVisibleActiveByEndpoint)
|
|
test
cannot use repo (variable of type *proxyRepoStub) as ProxyRepository value in struct literal: *proxyRepoStub does not implement ProxyRepository (missing method FindVisibleActiveByEndpoint)
|
|
test
cannot use repo (variable of type *proxyRepoStub) as ProxyRepository value in struct literal: *proxyRepoStub does not implement ProxyRepository (missing method FindVisibleActiveByEndpoint)
|
|
test
cannot use proxyRepo (variable of struct type stubProxyRepo) as service.ProxyRepository value in argument to service.NewAdminService: stubProxyRepo does not implement service.ProxyRepository (missing method FindVisibleActiveByEndpoint)
|
|
golangci-lint
issues found
|
|
golangci-lint:
backend/internal/service/openai_images_responses.go#L517
QF1001: could apply De Morgan's law (staticcheck)
|
|
golangci-lint:
backend/internal/repository/account_share_mode_repo.go#L822
QF1001: could apply De Morgan's law (staticcheck)
|
|
golangci-lint:
backend/internal/repository/account_share_mode_repo.go#L576
QF1001: could apply De Morgan's law (staticcheck)
|
|
golangci-lint:
backend/internal/repository/account_share_mode_repo_unit_test.go#L74
Error return value of `(*database/sql.DB).Close` is not checked (errcheck)
|
|
golangci-lint:
backend/internal/repository/account_share_mode_repo_unit_test.go#L45
Error return value of `(*database/sql.DB).Close` is not checked (errcheck)
|
|
golangci-lint:
backend/internal/repository/account_share_mode_repo_unit_test.go#L21
Error return value of `(*database/sql.DB).Close` is not checked (errcheck)
|
|
golangci-lint:
backend/internal/repository/account_share_mode_repo.go#L1481
Error return value of `(*database/sql.Rows).Close` is not checked (errcheck)
|
|
golangci-lint:
backend/internal/repository/account_share_mode_repo.go#L1376
Error return value of `(*database/sql.Rows).Close` is not checked (errcheck)
|
|
golangci-lint:
backend/internal/repository/account_share_mode_repo.go#L486
Error return value of `(*database/sql.Rows).Close` is not checked (errcheck)
|
|
frontend
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|