Switch to Gitlab.

This commit is contained in:
2018-12-01 02:16:06 +05:00
parent 2beb9ecef9
commit fc8f4e9d8b
24 changed files with 50 additions and 50 deletions

View File

@@ -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"

View File

@@ -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 (

View File

@@ -37,7 +37,7 @@ import (
"sync"
// local
"github.com/pztrn/fastpastebin/pastes/model"
"gitlab.com/pztrn/fastpastebin/pastes/model"
)
type FlatFiles struct {

View File

@@ -29,7 +29,7 @@ import (
"database/sql"
// local
"github.com/pztrn/fastpastebin/pastes/model"
"gitlab.com/pztrn/fastpastebin/pastes/model"
)
type Handler struct{}

View File

@@ -29,7 +29,7 @@ import (
"database/sql"
// local
"github.com/pztrn/fastpastebin/pastes/model"
"gitlab.com/pztrn/fastpastebin/pastes/model"
)
type Interface interface {

View File

@@ -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 (

View File

@@ -29,7 +29,7 @@ import (
"database/sql"
// local
"github.com/pztrn/fastpastebin/pastes/model"
"gitlab.com/pztrn/fastpastebin/pastes/model"
)
type Handler struct{}

View File

@@ -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"

View File

@@ -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 (

View File

@@ -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

View File

@@ -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

View File

@@ -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"
)