chore: return errors using channels and not embedded in result type #6241
Annotations
10 errors
go vet:
core/commands/pin/remotepin.go#L296
assignment mismatch: 2 variables but lsRemote returns 1 value
|
go vet:
core/commands/pin/remotepin.go#L296
not enough arguments in call to lsRemote
|
go vet:
core/commands/pin/remotepin.go#L350
too many return values
|
go vet:
core/commands/pin/remotepin.go#L350
too many arguments in call to c.Ls
|
go vet:
core/commands/pin/remotepin.go#L402
assignment mismatch: 2 variables but lsRemote returns 1 value
|
go vet:
core/commands/pin/remotepin.go#L402
not enough arguments in call to lsRemote
|
go vet:
core/commands/pin/pin.go#L561
undefined: iface
|
go vet:
core/commands/pin/pin.go#L566
cannot use opt (variable of type "github.com/ipfs/kubo/core/coreiface/options".PinLsOption) as chan<- iface.Pin value in argument to api.Pin().Ls
|
go vet
cannot use (*UnixfsAPI)(api) (value of type *UnixfsAPI) as iface.UnixfsAPI value in return statement: *UnixfsAPI does not implement iface.UnixfsAPI (wrong type for method Ls)
|
go vet
not enough arguments in call to lsRemote
|
Loading