From e4209a2d00e0e3fe59364352d9dc0debebbbbf54 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Fri, 26 Dec 2014 17:17:00 +1100 Subject: [PATCH] Reorder some imports --- cmd/torrent-infohash/main.go | 3 ++- connection_test.go | 3 ++- internal/cmd/bloom-estimate/main.go | 1 + internal/cmd/bloom-false-positives/main.go | 3 ++- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/cmd/torrent-infohash/main.go b/cmd/torrent-infohash/main.go index d58fc4c3..d7966203 100644 --- a/cmd/torrent-infohash/main.go +++ b/cmd/torrent-infohash/main.go @@ -3,8 +3,9 @@ package main import ( "flag" "fmt" - "github.com/anacrolix/libtorgo/metainfo" "log" + + "github.com/anacrolix/libtorgo/metainfo" ) func main() { diff --git a/connection_test.go b/connection_test.go index 0b7f8e28..22b76f01 100644 --- a/connection_test.go +++ b/connection_test.go @@ -1,9 +1,10 @@ package torrent import ( - "bitbucket.org/anacrolix/go.torrent/peer_protocol" "testing" "time" + + "bitbucket.org/anacrolix/go.torrent/peer_protocol" ) func TestCancelRequestOptimized(t *testing.T) { diff --git a/internal/cmd/bloom-estimate/main.go b/internal/cmd/bloom-estimate/main.go index e05071e1..5cdb41c2 100644 --- a/internal/cmd/bloom-estimate/main.go +++ b/internal/cmd/bloom-estimate/main.go @@ -3,6 +3,7 @@ package main import ( "flag" "fmt" + "github.com/willf/bloom" ) diff --git a/internal/cmd/bloom-false-positives/main.go b/internal/cmd/bloom-false-positives/main.go index d25ea17e..0b94480a 100644 --- a/internal/cmd/bloom-false-positives/main.go +++ b/internal/cmd/bloom-false-positives/main.go @@ -4,8 +4,9 @@ import ( "bufio" "flag" "fmt" - "github.com/willf/bloom" "os" + + "github.com/willf/bloom" ) func main() { -- 2.44.0