fix json tags on models, add second debug case #297
Annotations
7 errors and 1 warning
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/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/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/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/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)
|