From 9a84fe4a849a1bb8d1c9cecc8eb3b2125a058952 Mon Sep 17 00:00:00 2001 From: Luca Moser <moser.luca@gmail.com> Date: Thu, 12 Dec 2019 14:27:14 +0100 Subject: [PATCH] reformat imports --- plugins/analysis/client/plugin.go | 5 ++--- plugins/autopeering/peerstorage/peerstorage.go | 2 +- plugins/statusscreen/statusscreen.go | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/plugins/analysis/client/plugin.go b/plugins/analysis/client/plugin.go index 82d61d52..be7c6881 100644 --- a/plugins/analysis/client/plugin.go +++ b/plugins/analysis/client/plugin.go @@ -4,9 +4,6 @@ import ( "net" "time" - "github.com/iotaledger/hive.go/logger" - "github.com/iotaledger/hive.go/parameter" - "github.com/iotaledger/goshimmer/packages/accountability" "github.com/iotaledger/goshimmer/packages/network" "github.com/iotaledger/goshimmer/packages/timeutil" @@ -20,7 +17,9 @@ import ( "github.com/iotaledger/goshimmer/plugins/autopeering/types/peer" "github.com/iotaledger/hive.go/daemon" "github.com/iotaledger/hive.go/events" + "github.com/iotaledger/hive.go/logger" "github.com/iotaledger/hive.go/node" + "github.com/iotaledger/hive.go/parameter" ) var log = logger.NewLogger("Analysis-Client") diff --git a/plugins/autopeering/peerstorage/peerstorage.go b/plugins/autopeering/peerstorage/peerstorage.go index f886d076..3aa0b2a2 100644 --- a/plugins/autopeering/peerstorage/peerstorage.go +++ b/plugins/autopeering/peerstorage/peerstorage.go @@ -2,13 +2,13 @@ package peerstorage import ( "bytes" - "github.com/iotaledger/hive.go/logger" "sync" "github.com/iotaledger/goshimmer/packages/database" "github.com/iotaledger/goshimmer/plugins/autopeering/instances/knownpeers" "github.com/iotaledger/goshimmer/plugins/autopeering/types/peer" "github.com/iotaledger/hive.go/events" + "github.com/iotaledger/hive.go/logger" "github.com/iotaledger/hive.go/node" ) diff --git a/plugins/statusscreen/statusscreen.go b/plugins/statusscreen/statusscreen.go index 93db9a19..575a1b3b 100644 --- a/plugins/statusscreen/statusscreen.go +++ b/plugins/statusscreen/statusscreen.go @@ -1,7 +1,6 @@ package statusscreen import ( - "github.com/iotaledger/hive.go/logger" "io/ioutil" "os" "sync" @@ -10,6 +9,7 @@ import ( "github.com/gdamore/tcell" "github.com/iotaledger/hive.go/daemon" "github.com/iotaledger/hive.go/events" + "github.com/iotaledger/hive.go/logger" "github.com/iotaledger/hive.go/node" "github.com/rivo/tview" "golang.org/x/crypto/ssh/terminal" -- GitLab