From 0f0a36c62ce836cb673e6d0bf5fd222c9bd5c5f3 Mon Sep 17 00:00:00 2001 From: Eric Harris-Braun Date: Wed, 22 Feb 2017 08:37:38 -0500 Subject: [PATCH] more imports cleanup, another dup. --- examples/echo/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/echo/main.go b/examples/echo/main.go index 47e7ebd9..f3904957 100644 --- a/examples/echo/main.go +++ b/examples/echo/main.go @@ -10,7 +10,6 @@ import ( golog "github.com/ipfs/go-log" host "github.com/libp2p/go-libp2p-host" - inet "github.com/libp2p/go-libp2p-net" net "github.com/libp2p/go-libp2p-net" peer "github.com/libp2p/go-libp2p-peer" pstore "github.com/libp2p/go-libp2p-peerstore" @@ -142,7 +141,7 @@ func main() { // doEcho reads some data from a stream, writes it back and closes the // stream. -func doEcho(s inet.Stream) { +func doEcho(s net.Stream) { buf := make([]byte, 1024) n, err := s.Read(buf) if err != nil {