fix(userservice): init db for reports #1789
Annotations
10 errors and 1 warning
golangci-lint:
backend/pkg/api/data_access/admin.go#L1
: # github.com/gobitfly/beaconchain/pkg/api/data_access
|
golangci-lint
cfg.Frontend.ReaderDatabase.SSL undefined (type struct{Username string "yaml:\"user\" envconfig:\"FRONTEND_READER_DB_USERNAME\""; Password string "yaml:\"password\" envconfig:\"FRONTEND_READER_DB_PASSWORD\""; Name string "yaml:\"name\" envconfig:\"FRONTEND_READER_DB_NAME\""; Host string "yaml:\"host\" envconfig:\"FRONTEND_READER_DB_HOST\""; Port string "yaml:\"port\" envconfig:\"FRONTEND_READER_DB_PORT\""; MaxOpenConns int "yaml:\"maxOpenConns\" envconfig:\"FRONTEND_READER_DB_MAX_OPEN_CONNS\""; MaxIdleConns int "yaml:\"maxIdleConns\" envconfig:\"FRONTEND_READER_DB_MAX_IDLE_CONNS\""} has no field or method SSL) (typecheck)
|
golangci-lint:
backend/pkg/api/handlers/auth.go#L14
could not import github.com/gobitfly/beaconchain/pkg/api/data_access (-: # github.com/gobitfly/beaconchain/pkg/api/data_access
|
golangci-lint
cfg.Frontend.ReaderDatabase.SSL undefined (type struct{Username string "yaml:\"user\" envconfig:\"FRONTEND_READER_DB_USERNAME\""; Password string "yaml:\"password\" envconfig:\"FRONTEND_READER_DB_PASSWORD\""; Name string "yaml:\"name\" envconfig:\"FRONTEND_READER_DB_NAME\""; Host string "yaml:\"host\" envconfig:\"FRONTEND_READER_DB_HOST\""; Port string "yaml:\"port\" envconfig:\"FRONTEND_READER_DB_PORT\""; MaxOpenConns int "yaml:\"maxOpenConns\" envconfig:\"FRONTEND_READER_DB_MAX_OPEN_CONNS\""; MaxIdleConns int "yaml:\"maxIdleConns\" envconfig:\"FRONTEND_READER_DB_MAX_IDLE_CONNS\""} has no field or method SSL)) (typecheck)
|
golangci-lint:
backend/pkg/api/router.go#L7
could not import github.com/gobitfly/beaconchain/pkg/api/data_access (-: # github.com/gobitfly/beaconchain/pkg/api/data_access
|
golangci-lint
cfg.Frontend.ReaderDatabase.SSL undefined (type struct{Username string "yaml:\"user\" envconfig:\"FRONTEND_READER_DB_USERNAME\""; Password string "yaml:\"password\" envconfig:\"FRONTEND_READER_DB_PASSWORD\""; Name string "yaml:\"name\" envconfig:\"FRONTEND_READER_DB_NAME\""; Host string "yaml:\"host\" envconfig:\"FRONTEND_READER_DB_HOST\""; Port string "yaml:\"port\" envconfig:\"FRONTEND_READER_DB_PORT\""; MaxOpenConns int "yaml:\"maxOpenConns\" envconfig:\"FRONTEND_READER_DB_MAX_OPEN_CONNS\""; MaxIdleConns int "yaml:\"maxIdleConns\" envconfig:\"FRONTEND_READER_DB_MAX_IDLE_CONNS\""} has no field or method SSL)) (typecheck)
|
golangci-lint:
backend/cmd/api/main.go#L13
could not import github.com/gobitfly/beaconchain/pkg/api/data_access (-: # github.com/gobitfly/beaconchain/pkg/api/data_access
|
golangci-lint
cfg.Frontend.ReaderDatabase.SSL undefined (type struct{Username string "yaml:\"user\" envconfig:\"FRONTEND_READER_DB_USERNAME\""; Password string "yaml:\"password\" envconfig:\"FRONTEND_READER_DB_PASSWORD\""; Name string "yaml:\"name\" envconfig:\"FRONTEND_READER_DB_NAME\""; Host string "yaml:\"host\" envconfig:\"FRONTEND_READER_DB_HOST\""; Port string "yaml:\"port\" envconfig:\"FRONTEND_READER_DB_PORT\""; MaxOpenConns int "yaml:\"maxOpenConns\" envconfig:\"FRONTEND_READER_DB_MAX_OPEN_CONNS\""; MaxIdleConns int "yaml:\"maxIdleConns\" envconfig:\"FRONTEND_READER_DB_MAX_IDLE_CONNS\""} has no field or method SSL)) (typecheck)
|
golangci-lint:
backend/pkg/archiver/archiver.go#L8
could not import github.com/gobitfly/beaconchain/pkg/api/data_access (-: # github.com/gobitfly/beaconchain/pkg/api/data_access
|
golangci-lint
cfg.Frontend.ReaderDatabase.SSL undefined (type struct{Username string "yaml:\"user\" envconfig:\"FRONTEND_READER_DB_USERNAME\""; Password string "yaml:\"password\" envconfig:\"FRONTEND_READER_DB_PASSWORD\""; Name string "yaml:\"name\" envconfig:\"FRONTEND_READER_DB_NAME\""; Host string "yaml:\"host\" envconfig:\"FRONTEND_READER_DB_HOST\""; Port string "yaml:\"port\" envconfig:\"FRONTEND_READER_DB_PORT\""; MaxOpenConns int "yaml:\"maxOpenConns\" envconfig:\"FRONTEND_READER_DB_MAX_OPEN_CONNS\""; MaxIdleConns int "yaml:\"maxIdleConns\" envconfig:\"FRONTEND_READER_DB_MAX_IDLE_CONNS\""} has no field or method SSL)) (typecheck)
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading