From 385bb055bd5b5cf643d8f3e72b3ec37555359420 Mon Sep 17 00:00:00 2001 From: ivcosla Date: Fri, 23 Aug 2019 10:06:52 +0200 Subject: [PATCH] format --- cmd/apps/skychat/chat.go | 1 + pkg/app/log.go | 3 ++- pkg/app/log_store_test.go | 3 ++- pkg/app/log_test.go | 5 +++-- pkg/transport/manager_test.go | 1 + pkg/visor/rpc_test.go | 3 ++- 6 files changed, 11 insertions(+), 5 deletions(-) diff --git a/cmd/apps/skychat/chat.go b/cmd/apps/skychat/chat.go index 82452ac68e..43c136b530 100644 --- a/cmd/apps/skychat/chat.go +++ b/cmd/apps/skychat/chat.go @@ -18,6 +18,7 @@ import ( "github.com/skycoin/dmsg/cipher" "github.com/skycoin/skycoin/src/util/logging" + "github.com/skycoin/skywire/internal/netutil" "github.com/skycoin/skywire/pkg/app" "github.com/skycoin/skywire/pkg/routing" diff --git a/pkg/app/log.go b/pkg/app/log.go index e4cd0fe550..740c84a70c 100644 --- a/pkg/app/log.go +++ b/pkg/app/log.go @@ -1,9 +1,10 @@ package app import ( - "github.com/skycoin/skycoin/src/util/logging" "io" "time" + + "github.com/skycoin/skycoin/src/util/logging" ) // NewLogger is like (a *App) LoggerFromArguments but with appName as parameter, instead of diff --git a/pkg/app/log_store_test.go b/pkg/app/log_store_test.go index 5219efe246..f58405790a 100644 --- a/pkg/app/log_store_test.go +++ b/pkg/app/log_store_test.go @@ -5,9 +5,10 @@ import ( "os" "time" - "github.com/stretchr/testify/require" "io/ioutil" "testing" + + "github.com/stretchr/testify/require" ) func TestLogStore(t *testing.T) { diff --git a/pkg/app/log_test.go b/pkg/app/log_test.go index df3fc0d690..e74caac6d9 100644 --- a/pkg/app/log_test.go +++ b/pkg/app/log_test.go @@ -2,13 +2,14 @@ package app import ( "fmt" - "github.com/skycoin/skycoin/src/util/logging" - "github.com/stretchr/testify/require" "io" "io/ioutil" "os" "testing" "time" + + "github.com/skycoin/skycoin/src/util/logging" + "github.com/stretchr/testify/require" ) func TestWriteLog(t *testing.T) { diff --git a/pkg/transport/manager_test.go b/pkg/transport/manager_test.go index 8548102956..0d01dc90db 100644 --- a/pkg/transport/manager_test.go +++ b/pkg/transport/manager_test.go @@ -12,6 +12,7 @@ import ( "github.com/skycoin/skywire/pkg/routing" "github.com/skycoin/skywire/pkg/transport" + "github.com/skycoin/skywire/pkg/transport/dmsg" "github.com/google/uuid" "github.com/skycoin/dmsg/cipher" diff --git a/pkg/visor/rpc_test.go b/pkg/visor/rpc_test.go index dc3ae5e4d5..58f601c37c 100644 --- a/pkg/visor/rpc_test.go +++ b/pkg/visor/rpc_test.go @@ -9,9 +9,10 @@ import ( "time" "github.com/skycoin/dmsg/cipher" - "github.com/skycoin/skywire/pkg/app" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + + "github.com/skycoin/skywire/pkg/app" ) /*