Skip to content

Commit

Permalink
More goimports
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
Eugene Kim committed Jan 25, 2019
1 parent bb3d29f commit cf0486d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/beaconchain/libs/beaconchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion p2p/host.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit cf0486d

Please sign in to comment.