Skip to content

Commit 68b8053

Browse files
committed
feat: changed module path to laptudirm.com/x/
1 parent e122888 commit 68b8053

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

cmd/mtor/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"os"
66
"time"
77

8-
"github.com/raklaptudirm/mtor/internal/build"
9-
"github.com/raklaptudirm/mtor/pkg/file"
10-
"github.com/raklaptudirm/mtor/pkg/torrent"
8+
"laptudirm.com/x/mtor/internal/build"
9+
"laptudirm.com/x/mtor/pkg/file"
10+
"laptudirm.com/x/mtor/pkg/torrent"
1111
)
1212

1313
func main() {

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
module github.com/raklaptudirm/mtor
1+
module laptudirm.com/x/mtor
22

3-
go 1.17
3+
go 1.18
44

55
require github.com/jackpal/bencode-go v1.0.0

internal/build/env.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package build
22

3-
import "github.com/raklaptudirm/mtor/internal/manager"
3+
import "laptudirm.com/x/mtor/internal/manager"
44

55
var PieceManager = manager.New()

pkg/file/file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"time"
2525

2626
"github.com/jackpal/bencode-go"
27-
"github.com/raklaptudirm/mtor/pkg/torrent"
27+
"laptudirm.com/x/mtor/pkg/torrent"
2828
)
2929

3030
// Port is the port the client is listening on.

pkg/peer/conn.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import (
1818
"net"
1919
"time"
2020

21-
"github.com/raklaptudirm/mtor/pkg/bitfield"
22-
"github.com/raklaptudirm/mtor/pkg/message"
21+
"laptudirm.com/x/mtor/pkg/bitfield"
22+
"laptudirm.com/x/mtor/pkg/message"
2323
)
2424

2525
// Conn represents a p2p connection to a peer.

pkg/torrent/download.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"fmt"
2020
"time"
2121

22-
"github.com/raklaptudirm/mtor/pkg/peer"
22+
"laptudirm.com/x/mtor/pkg/peer"
2323
)
2424

2525
// download represents the state of a torrent thats being downloaded.

pkg/torrent/piece.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
package torrent
1515

1616
import (
17-
"github.com/raklaptudirm/mtor/pkg/message"
18-
"github.com/raklaptudirm/mtor/pkg/peer"
17+
"laptudirm.com/x/mtor/pkg/message"
18+
"laptudirm.com/x/mtor/pkg/peer"
1919
)
2020

2121
// piece represents a piece of a torrent that needs to be downloaded.

pkg/torrent/torrent.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"time"
2222

2323
"github.com/jackpal/bencode-go"
24-
"github.com/raklaptudirm/mtor/pkg/peer"
24+
"laptudirm.com/x/mtor/pkg/peer"
2525
)
2626

2727
// Torrent represents the data required to fetch peers and download a torrent

0 commit comments

Comments
 (0)