Update Go modules import path
This commit is contained in:
parent
96ea2ede4c
commit
e9b33d81b8
|
@ -7,7 +7,7 @@ import (
|
||||||
|
|
||||||
"go.etcd.io/bbolt"
|
"go.etcd.io/bbolt"
|
||||||
|
|
||||||
"backend/database/schema"
|
"github.com/librespeed/speedtest/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,11 +1,11 @@
|
||||||
package database
|
package database
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"backend/config"
|
"github.com/librespeed/speedtest/config"
|
||||||
"backend/database/bolt"
|
"github.com/librespeed/speedtest/database/bolt"
|
||||||
"backend/database/mysql"
|
"github.com/librespeed/speedtest/database/mysql"
|
||||||
"backend/database/postgresql"
|
"github.com/librespeed/speedtest/database/postgresql"
|
||||||
"backend/database/schema"
|
"github.com/librespeed/speedtest/database/schema"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"backend/database/schema"
|
"github.com/librespeed/speedtest/database/schema"
|
||||||
|
|
||||||
_ "github.com/go-sql-driver/mysql"
|
_ "github.com/go-sql-driver/mysql"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"backend/database/schema"
|
"github.com/librespeed/speedtest/database/schema"
|
||||||
|
|
||||||
_ "github.com/lib/pq"
|
_ "github.com/lib/pq"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
||||||
module backend
|
module github.com/librespeed/speedtest
|
||||||
|
|
||||||
go 1.13
|
go 1.13
|
||||||
|
|
||||||
|
|
6
main.go
6
main.go
|
@ -1,9 +1,9 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"backend/config"
|
"github.com/librespeed/speedtest/config"
|
||||||
"backend/database"
|
"github.com/librespeed/speedtest/database"
|
||||||
"backend/web"
|
"github.com/librespeed/speedtest/web"
|
||||||
|
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,9 +6,9 @@ import (
|
||||||
|
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
|
|
||||||
"backend/config"
|
"github.com/librespeed/speedtest/config"
|
||||||
"backend/database"
|
"github.com/librespeed/speedtest/database"
|
||||||
"backend/database/schema"
|
"github.com/librespeed/speedtest/database/schema"
|
||||||
)
|
)
|
||||||
|
|
||||||
type StatsData struct {
|
type StatsData struct {
|
||||||
|
|
|
@ -14,9 +14,9 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"backend/config"
|
"github.com/librespeed/speedtest/config"
|
||||||
"backend/database"
|
"github.com/librespeed/speedtest/database"
|
||||||
"backend/database/schema"
|
"github.com/librespeed/speedtest/database/schema"
|
||||||
|
|
||||||
"github.com/golang/freetype"
|
"github.com/golang/freetype"
|
||||||
"github.com/golang/freetype/truetype"
|
"github.com/golang/freetype/truetype"
|
||||||
|
|
|
@ -10,8 +10,8 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"backend/config"
|
"github.com/librespeed/speedtest/config"
|
||||||
"backend/results"
|
"github.com/librespeed/speedtest/results"
|
||||||
|
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
|
@ -16,8 +16,8 @@ import (
|
||||||
"github.com/go-chi/render"
|
"github.com/go-chi/render"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
|
|
||||||
"backend/config"
|
"github.com/librespeed/speedtest/config"
|
||||||
"backend/results"
|
"github.com/librespeed/speedtest/results"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
Loading…
Reference in a new issue