ipfs/ipfs-cluster

View on GitHub
adder/sharding/shard.go

Summary

Maintainability
A
0 mins
Test Coverage

context.Context should be the first parameter of a function
Open

func newShard(globalCtx context.Context, ctx context.Context, rpc *rpc.Client, opts api.PinOptions) (*shard, error) {
Severity: Minor
Found in adder/sharding/shard.go by golint

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

package sharding
Severity: Minor
Found in adder/sharding/shard.go by gofmt

There are no issues that match your filters.

Category
Status