go.mod: make module name match repository (#74)

This commit is contained in:
Michael Stapelberg
2026-02-25 11:32:44 +01:00
committed by GitHub
parent 123cd29ffb
commit 603cbdeec5
14 changed files with 29 additions and 29 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"errors" "errors"
"time" "time"
"github.com/librespeed/speedtest/database/schema" "github.com/librespeed/speedtest-go/database/schema"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"go.etcd.io/bbolt" "go.etcd.io/bbolt"
+7 -7
View File
@@ -1,13 +1,13 @@
package database package database
import ( import (
"github.com/librespeed/speedtest/config" "github.com/librespeed/speedtest-go/config"
"github.com/librespeed/speedtest/database/bolt" "github.com/librespeed/speedtest-go/database/bolt"
"github.com/librespeed/speedtest/database/memory" "github.com/librespeed/speedtest-go/database/memory"
"github.com/librespeed/speedtest/database/mysql" "github.com/librespeed/speedtest-go/database/mysql"
"github.com/librespeed/speedtest/database/none" "github.com/librespeed/speedtest-go/database/none"
"github.com/librespeed/speedtest/database/postgresql" "github.com/librespeed/speedtest-go/database/postgresql"
"github.com/librespeed/speedtest/database/schema" "github.com/librespeed/speedtest-go/database/schema"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/librespeed/speedtest/database/schema" "github.com/librespeed/speedtest-go/database/schema"
) )
const ( const (
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"database/sql" "database/sql"
"fmt" "fmt"
"github.com/librespeed/speedtest/database/schema" "github.com/librespeed/speedtest-go/database/schema"
_ "github.com/go-sql-driver/mysql" _ "github.com/go-sql-driver/mysql"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
+1 -1
View File
@@ -1,7 +1,7 @@
package none package none
import ( import (
"github.com/librespeed/speedtest/database/schema" "github.com/librespeed/speedtest-go/database/schema"
) )
type None struct{} type None struct{}
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"database/sql" "database/sql"
"fmt" "fmt"
"github.com/librespeed/speedtest/database/schema" "github.com/librespeed/speedtest-go/database/schema"
_ "github.com/lib/pq" _ "github.com/lib/pq"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
+1 -1
View File
@@ -1,4 +1,4 @@
module github.com/librespeed/speedtest module github.com/librespeed/speedtest-go
go 1.16 go 1.16
+4 -4
View File
@@ -4,10 +4,10 @@ import (
"flag" "flag"
_ "time/tzdata" _ "time/tzdata"
"github.com/librespeed/speedtest/config" "github.com/librespeed/speedtest-go/config"
"github.com/librespeed/speedtest/database" "github.com/librespeed/speedtest-go/database"
"github.com/librespeed/speedtest/results" "github.com/librespeed/speedtest-go/results"
"github.com/librespeed/speedtest/web" "github.com/librespeed/speedtest-go/web"
_ "github.com/breml/rootcerts" _ "github.com/breml/rootcerts"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
+3 -3
View File
@@ -9,9 +9,9 @@ import (
"github.com/gorilla/securecookie" "github.com/gorilla/securecookie"
"github.com/gorilla/sessions" "github.com/gorilla/sessions"
"github.com/librespeed/speedtest/config" "github.com/librespeed/speedtest-go/config"
"github.com/librespeed/speedtest/database" "github.com/librespeed/speedtest-go/database"
"github.com/librespeed/speedtest/database/schema" "github.com/librespeed/speedtest-go/database/schema"
) )
type StatsData struct { type StatsData struct {
+3 -3
View File
@@ -15,9 +15,9 @@ import (
"time" "time"
"github.com/go-chi/render" "github.com/go-chi/render"
"github.com/librespeed/speedtest/config" "github.com/librespeed/speedtest-go/config"
"github.com/librespeed/speedtest/database" "github.com/librespeed/speedtest-go/database"
"github.com/librespeed/speedtest/database/schema" "github.com/librespeed/speedtest-go/database/schema"
"github.com/golang/freetype" "github.com/golang/freetype"
"github.com/golang/freetype/truetype" "github.com/golang/freetype/truetype"
+2 -2
View File
@@ -12,8 +12,8 @@ import (
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"github.com/umahmood/haversine" "github.com/umahmood/haversine"
"github.com/librespeed/speedtest/config" "github.com/librespeed/speedtest-go/config"
"github.com/librespeed/speedtest/results" "github.com/librespeed/speedtest-go/results"
) )
var ( var (
+1 -1
View File
@@ -6,7 +6,7 @@ package web
import ( import (
"crypto/tls" "crypto/tls"
"github.com/go-chi/chi/v5" "github.com/go-chi/chi/v5"
"github.com/librespeed/speedtest/config" "github.com/librespeed/speedtest-go/config"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"net" "net"
"net/http" "net/http"
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"crypto/tls" "crypto/tls"
"github.com/coreos/go-systemd/v22/activation" "github.com/coreos/go-systemd/v22/activation"
"github.com/go-chi/chi/v5" "github.com/go-chi/chi/v5"
"github.com/librespeed/speedtest/config" "github.com/librespeed/speedtest-go/config"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"net" "net"
"net/http" "net/http"
+2 -2
View File
@@ -20,8 +20,8 @@ import (
"github.com/pires/go-proxyproto" "github.com/pires/go-proxyproto"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"github.com/librespeed/speedtest/config" "github.com/librespeed/speedtest-go/config"
"github.com/librespeed/speedtest/results" "github.com/librespeed/speedtest-go/results"
) )
const ( const (