From fd7daf4a310abd9d7082757e8e97aed726bd627b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Fri, 5 Jul 2019 12:06:28 +0200 Subject: [PATCH] Fix import ordering --- daemon/cmd.go | 4 ++-- node/builder.go | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/daemon/cmd.go b/daemon/cmd.go index 4c003160c..6e8ac2270 100644 --- a/daemon/cmd.go +++ b/daemon/cmd.go @@ -2,11 +2,11 @@ package daemon import ( "context" + + "github.com/filecoin-project/go-lotus/node" "github.com/filecoin-project/go-lotus/node/config" "gopkg.in/urfave/cli.v2" - - "github.com/filecoin-project/go-lotus/node" ) // Cmd is the `go-lotus daemon` command diff --git a/node/builder.go b/node/builder.go index 305500200..3ca0b7da8 100644 --- a/node/builder.go +++ b/node/builder.go @@ -3,22 +3,22 @@ package node import ( "context" "errors" - "github.com/filecoin-project/go-lotus/node/config" - "github.com/ipfs/go-datastore" - "github.com/libp2p/go-libp2p-core/host" - "github.com/libp2p/go-libp2p-core/peerstore" - "github.com/libp2p/go-libp2p-core/routing" - record "github.com/libp2p/go-libp2p-record" "reflect" "time" + "github.com/ipfs/go-datastore" ci "github.com/libp2p/go-libp2p-core/crypto" + "github.com/libp2p/go-libp2p-core/host" "github.com/libp2p/go-libp2p-core/peer" + "github.com/libp2p/go-libp2p-core/peerstore" + "github.com/libp2p/go-libp2p-core/routing" "github.com/libp2p/go-libp2p-peerstore/pstoremem" + record "github.com/libp2p/go-libp2p-record" "go.uber.org/fx" "github.com/filecoin-project/go-lotus/api" "github.com/filecoin-project/go-lotus/build" + "github.com/filecoin-project/go-lotus/node/config" "github.com/filecoin-project/go-lotus/node/modules" "github.com/filecoin-project/go-lotus/node/modules/helpers" "github.com/filecoin-project/go-lotus/node/modules/lp2p"