Skip to content

Commit 946f363

Browse files
committed
Gomod: change module URL
1 parent 2818240 commit 946f363

29 files changed

+57
-54
lines changed

backup/backup.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"path/filepath"
1313
"time"
1414

15-
"git.tcp.direct/tcp.direct/database/models"
15+
"github.com/tcp-direct/database/models"
1616
)
1717

1818
type Format string
@@ -170,7 +170,7 @@ func NewTarGzBackup(inPath string, outPath string, stores []string, extraData ..
170170
}
171171

172172
gz := gzip.NewWriter(finalFile)
173-
gz.Comment = "git.tcp.direct/tcp.direct/database backup archive"
173+
gz.Comment = "github.com/tcp-direct/database backup archive"
174174
if len(extraData) > 0 {
175175
for _, data := range extraData {
176176
gz.Comment += "\n" + string(data)

bitcask/bitcask.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ import (
1313

1414
"git.mills.io/prologic/bitcask"
1515

16-
"git.tcp.direct/tcp.direct/database"
17-
"git.tcp.direct/tcp.direct/database/kv"
18-
"git.tcp.direct/tcp.direct/database/metadata"
19-
"git.tcp.direct/tcp.direct/database/models"
16+
"github.com/tcp-direct/database"
17+
"github.com/tcp-direct/database/kv"
18+
"github.com/tcp-direct/database/metadata"
19+
"github.com/tcp-direct/database/models"
2020
)
2121

2222
// Store is an implmentation of a Filer and a Searcher using Bitcask.

bitcask/bitcask_backup.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"slices"
99
"time"
1010

11-
"git.tcp.direct/tcp.direct/database/backup"
12-
"git.tcp.direct/tcp.direct/database/models"
11+
"github.com/tcp-direct/database/backup"
12+
"github.com/tcp-direct/database/models"
1313
)
1414

1515
func (db *DB) BackupAll(archivePath string) (models.Backup, error) {

bitcask/bitcask_search.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package bitcask
33
import (
44
"strings"
55

6-
"git.tcp.direct/tcp.direct/database/kv"
6+
"github.com/tcp-direct/database/kv"
77
)
88

99
// Search will search for a given string within all values inside of a Store.

bitcask/bitcask_search_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
c "git.tcp.direct/kayos/common/entropy"
1111
"github.com/davecgh/go-spew/spew"
1212

13-
"git.tcp.direct/tcp.direct/database"
14-
"git.tcp.direct/tcp.direct/database/kv"
13+
"github.com/tcp-direct/database"
14+
"github.com/tcp-direct/database/kv"
1515
)
1616

1717
var needle = "yeet"

bitcask/bitcask_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
c "git.tcp.direct/kayos/common/entropy"
1313
"github.com/davecgh/go-spew/spew"
1414

15-
"git.tcp.direct/tcp.direct/database"
15+
"github.com/tcp-direct/database"
1616
)
1717

1818
func newTestDB(t *testing.T) (string, database.Keeper) {

bitcask/keeper_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package bitcask
33
import (
44
"testing"
55

6-
"git.tcp.direct/tcp.direct/database"
6+
"github.com/tcp-direct/database"
77
)
88

99
func Test_Interfaces(t *testing.T) {

bitcask/reg.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55

66
"git.mills.io/prologic/bitcask"
77

8-
"git.tcp.direct/tcp.direct/database"
9-
"git.tcp.direct/tcp.direct/database/registry"
8+
"github.com/tcp-direct/database"
9+
"github.com/tcp-direct/database/registry"
1010
)
1111

1212
var ErrBadOpt = errors.New("invalid bitcask options")

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module git.tcp.direct/tcp.direct/database
1+
module github.com/tcp-direct/database
22

33
go 1.21
44

keeper.go

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

33
import (
4-
"git.tcp.direct/tcp.direct/database/models"
4+
"github.com/tcp-direct/database/models"
55
)
66

77
// Keeper will be in charge of the more meta operations involving Filers.

0 commit comments

Comments
 (0)