Skip to content

Commit

Permalink
gorond
Browse files Browse the repository at this point in the history
  • Loading branch information
anacrolix committed Sep 29, 2024
1 parent 6298513 commit fc5deb9
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cmd/torrent/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"context"
"encoding/json"
"fmt"
app "github.com/anacrolix/gostdapp"
"io"
stdLog "log"
"net/http"
Expand All @@ -14,6 +13,7 @@ import (

"github.com/anacrolix/bargle"
"github.com/anacrolix/envpprof"
app "github.com/anacrolix/gostdapp"
"github.com/anacrolix/log"
xprometheus "github.com/anacrolix/missinggo/v2/prometheus"
"github.com/davecgh/go-spew/spew"
Expand Down
3 changes: 2 additions & 1 deletion internal/ctxrw/ctxrw.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ package ctxrw

import (
"context"
g "github.com/anacrolix/generics"
"io"

g "github.com/anacrolix/generics"
)

type contextedReader struct {
Expand Down
2 changes: 1 addition & 1 deletion metainfo/info_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package metainfo

import (
g "github.com/anacrolix/generics"
"testing"

g "github.com/anacrolix/generics"
"github.com/stretchr/testify/assert"

"github.com/anacrolix/torrent/bencode"
Expand Down
3 changes: 2 additions & 1 deletion ordered-bitmap.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package torrent

import (
"iter"

g "github.com/anacrolix/generics"
list "github.com/bahlo/generic-list-go"
"iter"

"github.com/anacrolix/torrent/typed-roaring"
)
Expand Down
5 changes: 3 additions & 2 deletions peer_protocol/handshake.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ import (
"context"
"encoding/hex"
"fmt"
"github.com/anacrolix/missinggo/v2/panicif"
"github.com/anacrolix/torrent/internal/ctxrw"
"io"
"math/bits"
"strings"
"unsafe"

"github.com/anacrolix/missinggo/v2/panicif"

"github.com/anacrolix/torrent/internal/ctxrw"
"github.com/anacrolix/torrent/metainfo"
)

Expand Down
3 changes: 2 additions & 1 deletion request-strategy/peer.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package requestStrategy

import (
typedRoaring "github.com/anacrolix/torrent/typed-roaring"
"iter"

typedRoaring "github.com/anacrolix/torrent/typed-roaring"
)

type PeerRequestState struct {
Expand Down
2 changes: 1 addition & 1 deletion tracker/udp/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import (
"context"
"encoding/binary"
"fmt"
"github.com/protolambda/ctxlock"
"io"
"net"
"time"

"github.com/anacrolix/dht/v2/krpc"
"github.com/protolambda/ctxlock"
)

// Client interacts with UDP trackers via its Writer and Dispatcher. It has no knowledge of
Expand Down

0 comments on commit fc5deb9

Please sign in to comment.