diff --git a/client.go b/client.go index b31e8732..ac133047 100644 --- a/client.go +++ b/client.go @@ -14,10 +14,9 @@ import ( "strings" "time" - "github.com/anacrolix/log" - "github.com/anacrolix/dht" "github.com/anacrolix/dht/krpc" + "github.com/anacrolix/log" "github.com/anacrolix/missinggo" "github.com/anacrolix/missinggo/pproffd" "github.com/anacrolix/missinggo/pubsub" diff --git a/portfwd.go b/portfwd.go index 293b6963..c9229630 100644 --- a/portfwd.go +++ b/portfwd.go @@ -5,7 +5,6 @@ import ( "time" flog "github.com/anacrolix/log" - "github.com/syncthing/syncthing/lib/nat" "github.com/syncthing/syncthing/lib/upnp" ) diff --git a/rlreader_test.go b/rlreader_test.go index 529cbee6..0391c619 100644 --- a/rlreader_test.go +++ b/rlreader_test.go @@ -5,14 +5,13 @@ import ( "log" "math/rand" "sync" + "testing" "time" "github.com/bradfitz/iter" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "golang.org/x/time/rate" - - "testing" ) func writeN(ws []io.Writer, n int) error { diff --git a/torrent.go b/torrent.go index 41937517..935fb164 100644 --- a/torrent.go +++ b/torrent.go @@ -15,11 +15,8 @@ import ( "text/tabwriter" "time" - "github.com/anacrolix/log" - - "github.com/davecgh/go-spew/spew" - "github.com/anacrolix/dht" + "github.com/anacrolix/log" "github.com/anacrolix/missinggo" "github.com/anacrolix/missinggo/bitmap" "github.com/anacrolix/missinggo/perf" @@ -27,6 +24,7 @@ import ( "github.com/anacrolix/missinggo/pubsub" "github.com/anacrolix/missinggo/slices" "github.com/bradfitz/iter" + "github.com/davecgh/go-spew/spew" "github.com/anacrolix/torrent/bencode" "github.com/anacrolix/torrent/metainfo"