Skip to content

Bump github.com/prometheus/client_golang from 1.16.0 to 1.17.0 #303

Bump github.com/prometheus/client_golang from 1.16.0 to 1.17.0

Bump github.com/prometheus/client_golang from 1.16.0 to 1.17.0 #303

Triggered via pull request September 28, 2023 12:01
Status Failure
Total duration 3m 32s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 6 warnings
lint: internal/seawa/models/item_listed.go#L15
tag is not aligned, should be: json:"item" mapstructure:"item" (tagalign)
lint: internal/seawa/models/item_listed.go#L16
tag is not aligned, should be: json:"is_private" mapstructure:"is_private" (tagalign)
lint: internal/seawa/models/item_listed.go#L17
tag is not aligned, should be: json:"listing_date" mapstructure:"listing_date" (tagalign)
lint: internal/seawa/models/item_listed.go#L18
tag is not aligned, should be: json:"listing_type" mapstructure:"listing_type" (tagalign)
lint: internal/seawa/models/common.go#L60
`EventPayload` should be annotated with the `json` tag as it is passed to `json.Unmarshal` at internal/pusu/pusu.go:76:13 (musttag)
lint
issues found
lint: internal/nemo/marketplace/marketplace.go#L19
exported: func name will be used as marketplace.MarketplaceAddresses by other packages, and that stutters; consider calling this Addresses (revive)
lint: internal/chawago/models/hashtopic.go#L36
var-declaration: should omit type HashTopic from declaration of var Transfer; it will be inferred from the right-hand side (revive)
lint: internal/chawago/models/hashtopic.go#L37
var-declaration: should omit type HashTopic from declaration of var TransferSingle; it will be inferred from the right-hand side (revive)
lint: internal/chawago/models/hashtopic.go#L38
var-declaration: should omit type HashTopic from declaration of var ApprovalForAll; it will be inferred from the right-hand side (revive)
lint: internal/nemo/provider/pool.go#L248
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
lint: internal/utils/debug/debug.go#L23
exported: func name will be used as debug.DebugIt by other packages, and that stutters; consider calling this It (revive)