Couple lint fixes

This commit is contained in:
Łukasz Magiera 2019-07-24 03:16:17 +02:00
parent 33dc14c9f2
commit 81d7c30fac
2 changed files with 5 additions and 4 deletions

View File

@ -3,9 +3,10 @@ package jsonrpc
import ( import (
"context" "context"
"encoding/json" "encoding/json"
"github.com/gorilla/websocket"
"io" "io"
"net/http" "net/http"
"github.com/gorilla/websocket"
) )
const ( const (

View File

@ -3,13 +3,11 @@ package modules
import ( import (
"context" "context"
"crypto/rand" "crypto/rand"
"github.com/filecoin-project/go-lotus/api"
"github.com/gbrlsnchs/jwt/v3"
"golang.org/x/xerrors"
"io" "io"
"io/ioutil" "io/ioutil"
"path/filepath" "path/filepath"
"github.com/gbrlsnchs/jwt/v3"
"github.com/ipfs/go-bitswap" "github.com/ipfs/go-bitswap"
"github.com/ipfs/go-bitswap/network" "github.com/ipfs/go-bitswap/network"
"github.com/ipfs/go-blockservice" "github.com/ipfs/go-blockservice"
@ -27,7 +25,9 @@ import (
"github.com/libp2p/go-libp2p-core/routing" "github.com/libp2p/go-libp2p-core/routing"
record "github.com/libp2p/go-libp2p-record" record "github.com/libp2p/go-libp2p-record"
"go.uber.org/fx" "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"
"github.com/filecoin-project/go-lotus/chain/types" "github.com/filecoin-project/go-lotus/chain/types"
"github.com/filecoin-project/go-lotus/node/modules/helpers" "github.com/filecoin-project/go-lotus/node/modules/helpers"