Switch to Gitlab.
This commit is contained in:
@@ -29,10 +29,10 @@ import (
|
||||
"database/sql"
|
||||
|
||||
// local
|
||||
"github.com/pztrn/fastpastebin/database/dialects/flatfiles"
|
||||
"github.com/pztrn/fastpastebin/database/dialects/interface"
|
||||
"github.com/pztrn/fastpastebin/database/dialects/mysql"
|
||||
"github.com/pztrn/fastpastebin/pastes/model"
|
||||
"gitlab.com/pztrn/fastpastebin/database/dialects/flatfiles"
|
||||
"gitlab.com/pztrn/fastpastebin/database/dialects/interface"
|
||||
"gitlab.com/pztrn/fastpastebin/database/dialects/mysql"
|
||||
"gitlab.com/pztrn/fastpastebin/pastes/model"
|
||||
|
||||
// other
|
||||
_ "github.com/go-sql-driver/mysql"
|
||||
|
@@ -26,8 +26,8 @@ package flatfiles
|
||||
|
||||
import (
|
||||
// local
|
||||
"github.com/pztrn/fastpastebin/context"
|
||||
"github.com/pztrn/fastpastebin/database/dialects/interface"
|
||||
"gitlab.com/pztrn/fastpastebin/context"
|
||||
"gitlab.com/pztrn/fastpastebin/database/dialects/interface"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@@ -37,7 +37,7 @@ import (
|
||||
"sync"
|
||||
|
||||
// local
|
||||
"github.com/pztrn/fastpastebin/pastes/model"
|
||||
"gitlab.com/pztrn/fastpastebin/pastes/model"
|
||||
)
|
||||
|
||||
type FlatFiles struct {
|
||||
|
@@ -29,7 +29,7 @@ import (
|
||||
"database/sql"
|
||||
|
||||
// local
|
||||
"github.com/pztrn/fastpastebin/pastes/model"
|
||||
"gitlab.com/pztrn/fastpastebin/pastes/model"
|
||||
)
|
||||
|
||||
type Handler struct{}
|
||||
|
@@ -29,7 +29,7 @@ import (
|
||||
"database/sql"
|
||||
|
||||
// local
|
||||
"github.com/pztrn/fastpastebin/pastes/model"
|
||||
"gitlab.com/pztrn/fastpastebin/pastes/model"
|
||||
)
|
||||
|
||||
type Interface interface {
|
||||
|
@@ -26,8 +26,8 @@ package mysql
|
||||
|
||||
import (
|
||||
// local
|
||||
"github.com/pztrn/fastpastebin/context"
|
||||
"github.com/pztrn/fastpastebin/database/dialects/interface"
|
||||
"gitlab.com/pztrn/fastpastebin/context"
|
||||
"gitlab.com/pztrn/fastpastebin/database/dialects/interface"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@@ -29,7 +29,7 @@ import (
|
||||
"database/sql"
|
||||
|
||||
// local
|
||||
"github.com/pztrn/fastpastebin/pastes/model"
|
||||
"gitlab.com/pztrn/fastpastebin/pastes/model"
|
||||
)
|
||||
|
||||
type Handler struct{}
|
||||
|
@@ -30,7 +30,7 @@ import (
|
||||
"fmt"
|
||||
|
||||
// local
|
||||
"github.com/pztrn/fastpastebin/pastes/model"
|
||||
"gitlab.com/pztrn/fastpastebin/pastes/model"
|
||||
|
||||
// other
|
||||
_ "github.com/go-sql-driver/mysql"
|
||||
|
@@ -26,8 +26,8 @@ package database
|
||||
|
||||
import (
|
||||
// local
|
||||
"github.com/pztrn/fastpastebin/context"
|
||||
"github.com/pztrn/fastpastebin/database/interface"
|
||||
"gitlab.com/pztrn/fastpastebin/context"
|
||||
"gitlab.com/pztrn/fastpastebin/database/interface"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@@ -29,8 +29,8 @@ import (
|
||||
"database/sql"
|
||||
|
||||
// local
|
||||
"github.com/pztrn/fastpastebin/database/dialects/interface"
|
||||
"github.com/pztrn/fastpastebin/pastes/model"
|
||||
"gitlab.com/pztrn/fastpastebin/database/dialects/interface"
|
||||
"gitlab.com/pztrn/fastpastebin/pastes/model"
|
||||
)
|
||||
|
||||
// Handler is an interfaceable structure that proxifies calls from anyone
|
||||
|
@@ -29,8 +29,8 @@ import (
|
||||
"database/sql"
|
||||
|
||||
// local
|
||||
"github.com/pztrn/fastpastebin/database/dialects/interface"
|
||||
"github.com/pztrn/fastpastebin/pastes/model"
|
||||
"gitlab.com/pztrn/fastpastebin/database/dialects/interface"
|
||||
"gitlab.com/pztrn/fastpastebin/pastes/model"
|
||||
)
|
||||
|
||||
// Interface represents database interface which is available to all
|
||||
|
@@ -26,10 +26,10 @@ package migrations
|
||||
|
||||
import (
|
||||
// local
|
||||
"github.com/pztrn/fastpastebin/context"
|
||||
"gitlab.com/pztrn/fastpastebin/context"
|
||||
|
||||
// other
|
||||
//"github.com/jmoiron/sqlx"
|
||||
//"gitlab.com/jmoiron/sqlx"
|
||||
"github.com/pressly/goose"
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user