From 81d7c30facff0ba5e24cdcadc619d1ab03b1135f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Wed, 24 Jul 2019 03:16:17 +0200 Subject: [PATCH] Couple lint fixes --- lib/jsonrpc/server.go | 3 ++- node/modules/core.go | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/jsonrpc/server.go b/lib/jsonrpc/server.go index 009710f85..c6b21a3da 100644 --- a/lib/jsonrpc/server.go +++ b/lib/jsonrpc/server.go @@ -3,9 +3,10 @@ package jsonrpc import ( "context" "encoding/json" - "github.com/gorilla/websocket" "io" "net/http" + + "github.com/gorilla/websocket" ) const ( diff --git a/node/modules/core.go b/node/modules/core.go index 47106019a..18ccf453d 100644 --- a/node/modules/core.go +++ b/node/modules/core.go @@ -3,13 +3,11 @@ package modules import ( "context" "crypto/rand" - "github.com/filecoin-project/go-lotus/api" - "github.com/gbrlsnchs/jwt/v3" - "golang.org/x/xerrors" "io" "io/ioutil" "path/filepath" + "github.com/gbrlsnchs/jwt/v3" "github.com/ipfs/go-bitswap" "github.com/ipfs/go-bitswap/network" "github.com/ipfs/go-blockservice" @@ -27,7 +25,9 @@ import ( "github.com/libp2p/go-libp2p-core/routing" record "github.com/libp2p/go-libp2p-record" "go.uber.org/fx" + "golang.org/x/xerrors" + "github.com/filecoin-project/go-lotus/api" "github.com/filecoin-project/go-lotus/chain" "github.com/filecoin-project/go-lotus/chain/types" "github.com/filecoin-project/go-lotus/node/modules/helpers"