From: Matt Joiner Date: Sat, 7 Jul 2018 01:40:06 +0000 (+1000) Subject: More sortimports X-Git-Tag: v1.0.0~99 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=a7e338a3f140f036df85aa69a36bb4929823c7d1;p=btrtrc.git More sortimports --- 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" )