Skip to content

Commit 05cdeb8

Browse files
committed
chore: remove redundant import prefixes
1 parent 39cede9 commit 05cdeb8

File tree

137 files changed

+171
-171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+171
-171
lines changed

api/api_net.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"time"
66

7-
metrics "github.com/libp2p/go-libp2p-core/metrics"
7+
"github.com/libp2p/go-libp2p-core/metrics"
88
"github.com/libp2p/go-libp2p-core/network"
99
"github.com/libp2p/go-libp2p-core/peer"
1010
"github.com/libp2p/go-libp2p-core/protocol"

api/api_storage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"github.com/filecoin-project/lotus/chain/types"
2525
"github.com/filecoin-project/lotus/storage/pipeline/sealiface"
2626
"github.com/filecoin-project/lotus/storage/sealer/fsutil"
27-
storiface "github.com/filecoin-project/lotus/storage/sealer/storiface"
27+
"github.com/filecoin-project/lotus/storage/sealer/storiface"
2828
)
2929

3030
// MODIFYING THE API INTERFACE

api/api_worker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/filecoin-project/specs-storage/storage"
1212

1313
"github.com/filecoin-project/lotus/storage/sealer/sealtasks"
14-
storiface "github.com/filecoin-project/lotus/storage/sealer/storiface"
14+
"github.com/filecoin-project/lotus/storage/sealer/storiface"
1515
)
1616

1717
// MODIFYING THE API INTERFACE

api/docgen/docgen.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"github.com/filecoin-project/go-address"
2828
"github.com/filecoin-project/go-bitfield"
2929
datatransfer "github.com/filecoin-project/go-data-transfer"
30-
filestore "github.com/filecoin-project/go-fil-markets/filestore"
30+
"github.com/filecoin-project/go-fil-markets/filestore"
3131
"github.com/filecoin-project/go-fil-markets/retrievalmarket"
3232
"github.com/filecoin-project/go-jsonrpc/auth"
3333
"github.com/filecoin-project/go-state-types/abi"
@@ -43,7 +43,7 @@ import (
4343
"github.com/filecoin-project/lotus/node/repo/imports"
4444
sealing "github.com/filecoin-project/lotus/storage/pipeline"
4545
"github.com/filecoin-project/lotus/storage/sealer/sealtasks"
46-
storiface "github.com/filecoin-project/lotus/storage/sealer/storiface"
46+
"github.com/filecoin-project/lotus/storage/sealer/storiface"
4747
)
4848

4949
var ExampleValues = map[reflect.Type]interface{}{

api/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package api
33
import (
44
"fmt"
55

6-
xerrors "golang.org/x/xerrors"
6+
"golang.org/x/xerrors"
77
)
88

99
type Version uint32

blockstore/badger/blockstore_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"testing"
1212

1313
blocks "github.com/ipfs/go-block-format"
14-
cid "github.com/ipfs/go-cid"
14+
"github.com/ipfs/go-cid"
1515
"github.com/stretchr/testify/require"
1616
"golang.org/x/sync/errgroup"
1717

blockstore/blockstore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package blockstore
33
import (
44
"context"
55

6-
cid "github.com/ipfs/go-cid"
6+
"github.com/ipfs/go-cid"
77
ds "github.com/ipfs/go-datastore"
88
blockstore "github.com/ipfs/go-ipfs-blockstore"
99
logging "github.com/ipfs/go-log/v2"

blockstore/discard.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"io"
66

77
blocks "github.com/ipfs/go-block-format"
8-
cid "github.com/ipfs/go-cid"
8+
"github.com/ipfs/go-cid"
99
)
1010

1111
var _ Blockstore = (*discardstore)(nil)

blockstore/idstore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"io"
66

77
blocks "github.com/ipfs/go-block-format"
8-
cid "github.com/ipfs/go-cid"
8+
"github.com/ipfs/go-cid"
99
mh "github.com/multiformats/go-multihash"
1010
"golang.org/x/xerrors"
1111
)

blockstore/splitstore/checkpoint.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"io"
66
"os"
77

8-
cid "github.com/ipfs/go-cid"
8+
"github.com/ipfs/go-cid"
99
mh "github.com/multiformats/go-multihash"
1010
"golang.org/x/xerrors"
1111
)

0 commit comments

Comments
 (0)