From: Matt Joiner Date: Fri, 26 Dec 2014 06:17:00 +0000 (+1100) Subject: Reorder some imports X-Git-Tag: v1.0.0~1381 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=e4209a2d00e0e3fe59364352d9dc0debebbbbf54;p=btrtrc.git Reorder some imports --- 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() {