From a7e338a3f140f036df85aa69a36bb4929823c7d1 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Sat, 7 Jul 2018 11:40:06 +1000 Subject: [PATCH] More sortimports --- cmd/torrent/main.go | 3 +-- cmd/tracker-announce/main.go | 3 ++- mse/mse.go | 1 - peer_protocol/handshake.go | 1 + 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/torrent/main.go b/cmd/torrent/main.go index e97ce9d7..f9067a79 100644 --- a/cmd/torrent/main.go +++ b/cmd/torrent/main.go @@ -11,8 +11,6 @@ import ( "strings" "time" - "github.com/anacrolix/torrent/iplist" - "github.com/anacrolix/envpprof" "github.com/anacrolix/tagflag" "github.com/dustin/go-humanize" @@ -20,6 +18,7 @@ import ( "golang.org/x/time/rate" "github.com/anacrolix/torrent" + "github.com/anacrolix/torrent/iplist" "github.com/anacrolix/torrent/metainfo" "github.com/anacrolix/torrent/storage" ) diff --git a/cmd/tracker-announce/main.go b/cmd/tracker-announce/main.go index 3cdffa29..76cfab38 100644 --- a/cmd/tracker-announce/main.go +++ b/cmd/tracker-announce/main.go @@ -8,10 +8,11 @@ import ( "sync" "github.com/anacrolix/tagflag" + "github.com/davecgh/go-spew/spew" + "github.com/anacrolix/torrent" "github.com/anacrolix/torrent/metainfo" "github.com/anacrolix/torrent/tracker" - "github.com/davecgh/go-spew/spew" ) func argSpec(arg string) (ts *torrent.TorrentSpec, err error) { diff --git a/mse/mse.go b/mse/mse.go index b10090c2..d9b87803 100644 --- a/mse/mse.go +++ b/mse/mse.go @@ -19,7 +19,6 @@ import ( "sync" "github.com/anacrolix/missinggo/perf" - "github.com/bradfitz/iter" ) diff --git a/peer_protocol/handshake.go b/peer_protocol/handshake.go index fedeaad1..e3389171 100644 --- a/peer_protocol/handshake.go +++ b/peer_protocol/handshake.go @@ -6,6 +6,7 @@ import ( "io" "github.com/anacrolix/missinggo" + "github.com/anacrolix/torrent/metainfo" ) -- 2.48.1