Rename Block Types #2087
reviewdog [golangci] report
reported by reviewdog 🐶
Findings (13)
components/inx/server.go|11 col 6| could not import github.com/iotaledger/inx/go (-: # github.com/iotaledger/inx/go
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go|23 col 30| undefined: iotago.ProtocolBlock
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go|34 col 73| undefined: iotago.ProtocolBlock
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go|35 col 22| not enough arguments in call to lo.DropCount
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go|35 col 29| undefined: iotago.ProtocolBlockFromBytes
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go|50 col 70| undefined: iotago.ProtocolBlock
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go|54 col 73| undefined: iotago.ProtocolBlock
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go|234 col 31| undefined: iotago.BlockPayload
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go|245 col 75| undefined: iotago.BlockPayload
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go|246 col 21| undefined: iotago.BlockPayload) (typecheck)
components/inx/server_issuance.go|6 col 2| "github.com/iotaledger/hive.go/ierrors" imported and not used (typecheck)
components/inx/server_issuance.go|7 col 2| "github.com/iotaledger/hive.go/lo" imported and not used (typecheck)
components/inx/server_issuance.go|10 col 2| "github.com/iotaledger/iota-core/pkg/protocol/engine/mempool" imported and not used (typecheck)
Filtered Findings (0)
Annotations
Check failure on line 11 in components/inx/server.go
github-actions / golangci
[golangci] components/inx/server.go#L11
could not import github.com/iotaledger/inx/go (-: # github.com/iotaledger/inx/go
Raw output
components/inx/server.go:11:6: could not import github.com/iotaledger/inx/go (-: # github.com/iotaledger/inx/go
github-actions / golangci
[golangci] /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go#L23
undefined: iotago.ProtocolBlock
Raw output
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go:23:30: undefined: iotago.ProtocolBlock
github-actions / golangci
[golangci] /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go#L34
undefined: iotago.ProtocolBlock
Raw output
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go:34:73: undefined: iotago.ProtocolBlock
github-actions / golangci
[golangci] /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go#L35
not enough arguments in call to lo.DropCount
Raw output
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go:35:22: not enough arguments in call to lo.DropCount
have (unknown type)
want (T, int, error)
github-actions / golangci
[golangci] /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go#L35
undefined: iotago.ProtocolBlockFromBytes
Raw output
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go:35:29: undefined: iotago.ProtocolBlockFromBytes
github-actions / golangci
[golangci] /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go#L50
undefined: iotago.ProtocolBlock
Raw output
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go:50:70: undefined: iotago.ProtocolBlock
github-actions / golangci
[golangci] /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go#L54
undefined: iotago.ProtocolBlock
Raw output
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go:54:73: undefined: iotago.ProtocolBlock
github-actions / golangci
[golangci] /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go#L234
undefined: iotago.BlockPayload
Raw output
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go:234:31: undefined: iotago.BlockPayload
github-actions / golangci
[golangci] /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go#L245
undefined: iotago.BlockPayload
Raw output
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go:245:75: undefined: iotago.BlockPayload
github-actions / golangci
[golangci] /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go#L246
undefined: iotago.BlockPayload) (typecheck)
Raw output
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go:246:21: undefined: iotago.BlockPayload) (typecheck)
inx "github.com/iotaledger/inx/go"
^
Check failure on line 6 in components/inx/server_issuance.go
github-actions / golangci
[golangci] components/inx/server_issuance.go#L6
"github.com/iotaledger/hive.go/ierrors" imported and not used (typecheck)
Raw output
components/inx/server_issuance.go:6:2: "github.com/iotaledger/hive.go/ierrors" imported and not used (typecheck)
"github.com/iotaledger/hive.go/ierrors"
^
Check failure on line 7 in components/inx/server_issuance.go
github-actions / golangci
[golangci] components/inx/server_issuance.go#L7
"github.com/iotaledger/hive.go/lo" imported and not used (typecheck)
Raw output
components/inx/server_issuance.go:7:2: "github.com/iotaledger/hive.go/lo" imported and not used (typecheck)
"github.com/iotaledger/hive.go/lo"
^
Check failure on line 10 in components/inx/server_issuance.go
github-actions / golangci
[golangci] components/inx/server_issuance.go#L10
"github.com/iotaledger/iota-core/pkg/protocol/engine/mempool" imported and not used (typecheck)
Raw output
components/inx/server_issuance.go:10:2: "github.com/iotaledger/iota-core/pkg/protocol/engine/mempool" imported and not used (typecheck)
"github.com/iotaledger/iota-core/pkg/protocol/engine/mempool"
^