Skip to content

feat(bux-246): Added linters #6

feat(bux-246): Added linters

feat(bux-246): Added linters #6

Triggered via pull request March 14, 2024 15:12
Status Failure
Total duration 4m 8s
Artifacts

error-linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: actions/access_keys/routes_test.go#L17
string `/access-key` has 3 occurrences, make it a constant (goconst)
lint: actions/transactions/routes_test.go#L17
string `/transaction` has 3 occurrences, make it a constant (goconst)
lint: actions/destinations/routes_test.go#L17
string `/destination` has 3 occurrences, make it a constant (goconst)
lint: server/server_test.go#L60
string `/admin/status` has 3 occurrences, make it a constant (goconst)
lint: server/server_test.go#L103
string `/xpub` has 3 occurrences, make it a constant (goconst)
lint: config/config.go#L27
struct of size 128 bytes could be of size 120 bytes (maligned)
lint: config/config.go#L65
struct of size 48 bytes could be of size 40 bytes (maligned)
lint: config/config.go#L105
struct of size 64 bytes could be of size 56 bytes (maligned)
lint: logging/gin_loggers.go#L27
gin.LogFormatterParams is missing fields Request, TimeStamp, Keys (exhaustruct)
lint: logging/logging.go#L21
zerolog.ConsoleWriter is missing fields NoColor, PartsOrder, PartsExclude, FieldsExclude, FormatTimestamp, FormatLevel, FormatCaller, FormatMessage, FormatFieldName, FormatFieldValue, FormatErrFieldName, FormatErrFieldValue, FormatExtra, FormatPrepare (exhaustruct)