Skip to content

feat(gateway): update gateway api, no multi-range support #1609

feat(gateway): update gateway api, no multi-range support

feat(gateway): update gateway api, no multi-range support #1609

Triggered via pull request July 25, 2023 10:40
Status Failure
Total duration 1m 26s
Artifacts

golint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
go-lint: cmd/ipfs/daemon.go#L26
could not import github.com/ipfs/kubo/core/corehttp (-: # github.com/ipfs/kubo/core/corehttp
go-lint: core/corehttp/gateway.go#L115
cannot use &offlineGatewayErrWrapper{…} (value of type *offlineGatewayErrWrapper) as type gateway.IPFSBackend in return statement:
go-lint: core/corehttp/gateway.go#L150
cannot use n (variable of type *gateway.HeadResponse) as type files.Node in return statement:
go-lint: core/corehttp/gateway.go#L187
cannot use (*offlineGatewayErrWrapper)(nil) (value of type *offlineGatewayErrWrapper) as type gateway.IPFSBackend in variable declaration:
go-lint: cmd/ipfswatch/main.go#L18
could not import github.com/ipfs/kubo/core/corehttp (-: # github.com/ipfs/kubo/core/corehttp
go-lint: core/corehttp/gateway.go#L115
cannot use &offlineGatewayErrWrapper{…} (value of type *offlineGatewayErrWrapper) as type gateway.IPFSBackend in return statement:
go-lint: core/corehttp/gateway.go#L150
cannot use n (variable of type *gateway.HeadResponse) as type files.Node in return statement:
go-lint: core/corehttp/gateway.go#L187
cannot use (*offlineGatewayErrWrapper)(nil) (value of type *offlineGatewayErrWrapper) as type gateway.IPFSBackend in variable declaration:
go-lint: core/corehttp/gateway.go#L115
cannot use &offlineGatewayErrWrapper{…} (value of type *offlineGatewayErrWrapper) as type gateway.IPFSBackend in return statement:
go-lint: core/corehttp/gateway.go#L150
cannot use n (variable of type *gateway.HeadResponse) as type files.Node in return statement: