More goimports

Recent version of goimports committed a few days ago now adds an
explicit package name tag for imports whose last path component differ
from the package name (see golang/go#28428 and
https://go-review.googlesource.com/c/tools/+/152000).
pull/321/head
Eugene Kim 6 years ago
parent bb3d29f476
commit cf0486dbd3
  1. 2
      internal/beaconchain/libs/beaconchain.go
  2. 2
      p2p/host.go

@ -12,7 +12,7 @@ import (
proto_identity "github.com/harmony-one/harmony/api/proto/identity"
"github.com/harmony-one/harmony/api/proto/node"
"github.com/harmony-one/harmony/crypto/pki"
"github.com/harmony-one/harmony/internal/beaconchain/rpc"
beaconchain "github.com/harmony-one/harmony/internal/beaconchain/rpc"
"github.com/harmony-one/harmony/internal/utils"
"github.com/harmony-one/harmony/p2p"
"github.com/harmony-one/harmony/p2p/host"

@ -1,6 +1,6 @@
package p2p
import "github.com/libp2p/go-libp2p-peer"
import peer "github.com/libp2p/go-libp2p-peer"
// Host is the client + server in p2p network.
type Host interface {

Loading…
Cancel
Save