Commit bfe5b201 authored by Matt Joiner's avatar Matt Joiner
Browse files

goimports -local

parent 4f3849ea
......@@ -3,8 +3,9 @@ package dht
import (
"net"
"github.com/anacrolix/dht/v2/krpc"
"github.com/anacrolix/missinggo"
"github.com/anacrolix/dht/v2/krpc"
)
// Used internally to refer to node network addresses. String() is called a
......
......@@ -8,9 +8,10 @@ import (
"net"
"time"
"github.com/anacrolix/dht/v2/krpc"
"github.com/anacrolix/sync"
"github.com/willf/bloom"
"github.com/anacrolix/dht/v2/krpc"
)
// Maintains state for an ongoing Announce operation. An Announce is started
......
......@@ -5,8 +5,9 @@ import (
"net"
"sync"
"github.com/anacrolix/dht/v2"
"github.com/anacrolix/tagflag"
"github.com/anacrolix/dht/v2"
)
func main() {
......
......@@ -8,9 +8,10 @@ import (
"os"
"os/signal"
"github.com/anacrolix/dht/v2"
_ "github.com/anacrolix/envpprof"
"github.com/anacrolix/tagflag"
"github.com/anacrolix/dht/v2"
)
var (
......
......@@ -9,12 +9,13 @@ import (
"net"
"time"
"github.com/anacrolix/dht/v2/krpc"
"github.com/anacrolix/log"
"github.com/anacrolix/missinggo"
"github.com/anacrolix/missinggo/conntrack"
"github.com/anacrolix/torrent/iplist"
"github.com/anacrolix/torrent/metainfo"
"github.com/anacrolix/dht/v2/krpc"
)
func defaultQueryResendDelay() time.Duration {
......
......@@ -16,8 +16,9 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/anacrolix/dht/v2/krpc"
"github.com/anacrolix/log"
"github.com/anacrolix/dht/v2/krpc"
)
func TestSetNilBigInt(t *testing.T) {
......
......@@ -14,13 +14,14 @@ import (
"github.com/anacrolix/log"
"github.com/pkg/errors"
"github.com/anacrolix/dht/v2/krpc"
"github.com/anacrolix/missinggo"
"github.com/anacrolix/missinggo/conntrack"
"github.com/anacrolix/torrent/bencode"
"github.com/anacrolix/torrent/iplist"
"github.com/anacrolix/torrent/logonce"
"github.com/anacrolix/torrent/metainfo"
"github.com/anacrolix/dht/v2/krpc"
)
// A Server defines parameters for a DHT node server that is able to send
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment