Skip to content

Commit 603cbde

Browse files
authored
go.mod: make module name match repository (#74)
1 parent 123cd29 commit 603cbde

14 files changed

Lines changed: 29 additions & 29 deletions

File tree

database/bolt/bolt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"errors"
66
"time"
77

8-
"github.com/librespeed/speedtest/database/schema"
8+
"github.com/librespeed/speedtest-go/database/schema"
99

1010
log "github.com/sirupsen/logrus"
1111
"go.etcd.io/bbolt"

database/database.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
package database
22

33
import (
4-
"github.com/librespeed/speedtest/config"
5-
"github.com/librespeed/speedtest/database/bolt"
6-
"github.com/librespeed/speedtest/database/memory"
7-
"github.com/librespeed/speedtest/database/mysql"
8-
"github.com/librespeed/speedtest/database/none"
9-
"github.com/librespeed/speedtest/database/postgresql"
10-
"github.com/librespeed/speedtest/database/schema"
4+
"github.com/librespeed/speedtest-go/config"
5+
"github.com/librespeed/speedtest-go/database/bolt"
6+
"github.com/librespeed/speedtest-go/database/memory"
7+
"github.com/librespeed/speedtest-go/database/mysql"
8+
"github.com/librespeed/speedtest-go/database/none"
9+
"github.com/librespeed/speedtest-go/database/postgresql"
10+
"github.com/librespeed/speedtest-go/database/schema"
1111

1212
log "github.com/sirupsen/logrus"
1313
)

database/memory/memory.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"sync"
66
"time"
77

8-
"github.com/librespeed/speedtest/database/schema"
8+
"github.com/librespeed/speedtest-go/database/schema"
99
)
1010

1111
const (

database/mysql/mysql.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"database/sql"
55
"fmt"
66

7-
"github.com/librespeed/speedtest/database/schema"
7+
"github.com/librespeed/speedtest-go/database/schema"
88

99
_ "github.com/go-sql-driver/mysql"
1010
log "github.com/sirupsen/logrus"

database/none/none.go

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

33
import (
4-
"github.com/librespeed/speedtest/database/schema"
4+
"github.com/librespeed/speedtest-go/database/schema"
55
)
66

77
type None struct{}

database/postgresql/postgresql.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"database/sql"
55
"fmt"
66

7-
"github.com/librespeed/speedtest/database/schema"
7+
"github.com/librespeed/speedtest-go/database/schema"
88

99
_ "github.com/lib/pq"
1010
log "github.com/sirupsen/logrus"

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/librespeed/speedtest
1+
module github.com/librespeed/speedtest-go
22

33
go 1.16
44

main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import (
44
"flag"
55
_ "time/tzdata"
66

7-
"github.com/librespeed/speedtest/config"
8-
"github.com/librespeed/speedtest/database"
9-
"github.com/librespeed/speedtest/results"
10-
"github.com/librespeed/speedtest/web"
7+
"github.com/librespeed/speedtest-go/config"
8+
"github.com/librespeed/speedtest-go/database"
9+
"github.com/librespeed/speedtest-go/results"
10+
"github.com/librespeed/speedtest-go/web"
1111

1212
_ "github.com/breml/rootcerts"
1313
log "github.com/sirupsen/logrus"

results/stats.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99

1010
"github.com/gorilla/securecookie"
1111
"github.com/gorilla/sessions"
12-
"github.com/librespeed/speedtest/config"
13-
"github.com/librespeed/speedtest/database"
14-
"github.com/librespeed/speedtest/database/schema"
12+
"github.com/librespeed/speedtest-go/config"
13+
"github.com/librespeed/speedtest-go/database"
14+
"github.com/librespeed/speedtest-go/database/schema"
1515
)
1616

1717
type StatsData struct {

results/telemetry.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ import (
1515
"time"
1616

1717
"github.com/go-chi/render"
18-
"github.com/librespeed/speedtest/config"
19-
"github.com/librespeed/speedtest/database"
20-
"github.com/librespeed/speedtest/database/schema"
18+
"github.com/librespeed/speedtest-go/config"
19+
"github.com/librespeed/speedtest-go/database"
20+
"github.com/librespeed/speedtest-go/database/schema"
2121

2222
"github.com/golang/freetype"
2323
"github.com/golang/freetype/truetype"

0 commit comments

Comments
 (0)