1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-10-29 00:46:02 +08:00

Run 'gofmt -s -w' on these files

This commit is contained in:
rht
2015-05-19 00:42:21 +07:00
parent 88be96bc8c
commit ac7edddb94
23 changed files with 141 additions and 141 deletions

View File

@ -86,7 +86,7 @@ func (c *Client) Provide(ctx context.Context, k u.Key) error {
msg := pb.NewMessage(pb.Message_ADD_PROVIDER, string(k), 0)
// FIXME how is connectedness defined for the local node
pri := []pb.PeerRoutingInfo{
pb.PeerRoutingInfo{
{
PeerInfo: peer.PeerInfo{
ID: c.local,
Addrs: c.peerhost.Addrs(),

View File

@ -73,7 +73,7 @@ func (s *Server) handleMessage(
case dhtpb.Message_FIND_NODE:
p := s.peerstore.PeerInfo(peer.ID(req.GetKey()))
pri := []dhtpb.PeerRoutingInfo{
dhtpb.PeerRoutingInfo{
{
PeerInfo: p,
// Connectedness: TODO
},