You've already forked speedtest-go
go.mod: make module name match repository (#74)
This commit is contained in:
committed by
GitHub
parent
123cd29ffb
commit
603cbdeec5
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/librespeed/speedtest/database/schema"
|
"github.com/librespeed/speedtest-go/database/schema"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -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,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{}
|
||||||
|
|||||||
@@ -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,4 +1,4 @@
|
|||||||
module github.com/librespeed/speedtest
|
module github.com/librespeed/speedtest-go
|
||||||
|
|
||||||
go 1.16
|
go 1.16
|
||||||
|
|
||||||
|
|||||||
@@ -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
@@ -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 {
|
||||||
|
|||||||
@@ -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
@@ -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
@@ -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"
|
||||||
|
|||||||
@@ -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
@@ -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 (
|
||||||
|
|||||||
Reference in New Issue
Block a user