Skip to content

Commit

Permalink
goimports
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Mar 19, 2021
1 parent 714a3e9 commit 47f8f72
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 9 deletions.
3 changes: 2 additions & 1 deletion api/api_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package api
import (
"context"
"fmt"

"github.com/google/uuid"

"github.com/filecoin-project/go-jsonrpc/auth"
Expand All @@ -11,7 +12,7 @@ import (
"github.com/libp2p/go-libp2p-core/peer"
protocol "github.com/libp2p/go-libp2p-core/protocol"

"github.com/filecoin-project/lotus/api/types"
apitypes "github.com/filecoin-project/lotus/api/types"
)

type Common interface {
Expand Down
2 changes: 1 addition & 1 deletion api/apistruct/struct.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
"github.com/filecoin-project/specs-storage/storage"

"github.com/filecoin-project/lotus/api"
"github.com/filecoin-project/lotus/api/types"
apitypes "github.com/filecoin-project/lotus/api/types"
"github.com/filecoin-project/lotus/chain/actors/builtin/miner"
"github.com/filecoin-project/lotus/chain/actors/builtin/paych"
"github.com/filecoin-project/lotus/chain/types"
Expand Down
2 changes: 1 addition & 1 deletion api/docgen/docgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (
"github.com/filecoin-project/go-state-types/exitcode"

"github.com/filecoin-project/lotus/api"
"github.com/filecoin-project/lotus/api/types"
apitypes "github.com/filecoin-project/lotus/api/types"
"github.com/filecoin-project/lotus/build"
"github.com/filecoin-project/lotus/chain/types"
"github.com/filecoin-project/lotus/extern/sector-storage/sealtasks"
Expand Down
3 changes: 2 additions & 1 deletion api/mocks/mock_full.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/openrpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

rice "github.com/GeertJohan/go.rice"

"github.com/filecoin-project/lotus/api/types"
apitypes "github.com/filecoin-project/lotus/api/types"
)

func mustReadGzippedOpenRPCDocument(data []byte) apitypes.OpenRPCDocument {
Expand Down
2 changes: 1 addition & 1 deletion build/openrpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package build
import (
"testing"

"github.com/filecoin-project/lotus/api/types"
apitypes "github.com/filecoin-project/lotus/api/types"
)

func TestOpenRPCDiscoverJSON_Version(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion cli/servicesmock_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node/impl/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/filecoin-project/go-jsonrpc/auth"

"github.com/filecoin-project/lotus/api"
"github.com/filecoin-project/lotus/api/types"
apitypes "github.com/filecoin-project/lotus/api/types"
"github.com/filecoin-project/lotus/build"
"github.com/filecoin-project/lotus/node/modules/dtypes"
"github.com/filecoin-project/lotus/node/modules/lp2p"
Expand Down
2 changes: 1 addition & 1 deletion node/impl/storminer.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (

"github.com/filecoin-project/lotus/api"
"github.com/filecoin-project/lotus/api/apistruct"
"github.com/filecoin-project/lotus/api/types"
apitypes "github.com/filecoin-project/lotus/api/types"
"github.com/filecoin-project/lotus/chain/types"
"github.com/filecoin-project/lotus/markets/storageadapter"
"github.com/filecoin-project/lotus/miner"
Expand Down

0 comments on commit 47f8f72

Please sign in to comment.