From ecabf6dcc4a3b74c319094cc1e7c85f397c081e1 Mon Sep 17 00:00:00 2001 From: Luca Moser <moser.luca@gmail.com> Date: Thu, 12 Dec 2019 14:34:35 +0100 Subject: [PATCH] more formatting --- plugins/dashboard/plugin.go | 5 ++--- plugins/gossip/neighbors.go | 2 +- plugins/gossip/send_queue.go | 2 +- plugins/gossip/server.go | 2 +- plugins/ui/ui.go | 3 +-- plugins/webapi/plugin.go | 2 +- 6 files changed, 7 insertions(+), 9 deletions(-) diff --git a/plugins/dashboard/plugin.go b/plugins/dashboard/plugin.go index a5815826..1601f243 100644 --- a/plugins/dashboard/plugin.go +++ b/plugins/dashboard/plugin.go @@ -1,16 +1,15 @@ package dashboard import ( - "github.com/iotaledger/hive.go/logger" "net/http" "time" - "golang.org/x/net/context" - "github.com/iotaledger/goshimmer/plugins/metrics" "github.com/iotaledger/hive.go/daemon" "github.com/iotaledger/hive.go/events" + "github.com/iotaledger/hive.go/logger" "github.com/iotaledger/hive.go/node" + "golang.org/x/net/context" ) var server *http.Server diff --git a/plugins/gossip/neighbors.go b/plugins/gossip/neighbors.go index ef3431c1..d224dd04 100644 --- a/plugins/gossip/neighbors.go +++ b/plugins/gossip/neighbors.go @@ -8,10 +8,10 @@ import ( "time" "github.com/iotaledger/goshimmer/packages/accountability" - "github.com/iotaledger/hive.go/daemon" "github.com/iotaledger/goshimmer/packages/errors" "github.com/iotaledger/goshimmer/packages/identity" "github.com/iotaledger/goshimmer/packages/network" + "github.com/iotaledger/hive.go/daemon" "github.com/iotaledger/hive.go/events" "github.com/iotaledger/hive.go/node" ) diff --git a/plugins/gossip/send_queue.go b/plugins/gossip/send_queue.go index b3b78bb0..c8550289 100644 --- a/plugins/gossip/send_queue.go +++ b/plugins/gossip/send_queue.go @@ -3,8 +3,8 @@ package gossip import ( "sync" - "github.com/iotaledger/hive.go/daemon" "github.com/iotaledger/goshimmer/packages/model/meta_transaction" + "github.com/iotaledger/hive.go/daemon" "github.com/iotaledger/hive.go/events" "github.com/iotaledger/hive.go/node" ) diff --git a/plugins/gossip/server.go b/plugins/gossip/server.go index 99520078..ec5e146d 100644 --- a/plugins/gossip/server.go +++ b/plugins/gossip/server.go @@ -2,11 +2,11 @@ package gossip import ( "github.com/iotaledger/goshimmer/packages/accountability" - "github.com/iotaledger/hive.go/daemon" "github.com/iotaledger/goshimmer/packages/errors" "github.com/iotaledger/goshimmer/packages/identity" "github.com/iotaledger/goshimmer/packages/network" "github.com/iotaledger/goshimmer/packages/network/tcp" + "github.com/iotaledger/hive.go/daemon" "github.com/iotaledger/hive.go/events" "github.com/iotaledger/hive.go/node" "github.com/iotaledger/hive.go/parameter" diff --git a/plugins/ui/ui.go b/plugins/ui/ui.go index f4e5afad..3844e087 100644 --- a/plugins/ui/ui.go +++ b/plugins/ui/ui.go @@ -1,7 +1,6 @@ package ui import ( - "github.com/iotaledger/hive.go/logger" "net/http" "strings" "sync/atomic" @@ -14,8 +13,8 @@ import ( "github.com/iotaledger/goshimmer/plugins/webapi" "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/labstack/echo" ) diff --git a/plugins/webapi/plugin.go b/plugins/webapi/plugin.go index e73d1a09..325a0918 100644 --- a/plugins/webapi/plugin.go +++ b/plugins/webapi/plugin.go @@ -2,11 +2,11 @@ package webapi import ( "context" - "github.com/iotaledger/hive.go/logger" "time" "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/labstack/echo" ) -- GitLab