Switch to Gitlab.

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

View File

@ -1,4 +1,4 @@
[Chat on Keybase.io](https://keybase.io/team/fastpastebin)
Chat at #fastpastebin @ irc.oftc.net or in Matrix at #fastpastebin:pztrn.name
# Fast Pastebin

View File

@ -26,9 +26,9 @@ package api
import (
// local
"github.com/pztrn/fastpastebin/api/http"
"github.com/pztrn/fastpastebin/api/json"
"github.com/pztrn/fastpastebin/context"
"gitlab.com/pztrn/fastpastebin/api/http"
"gitlab.com/pztrn/fastpastebin/api/json"
"gitlab.com/pztrn/fastpastebin/context"
// other
"github.com/labstack/echo"

View File

@ -26,8 +26,8 @@ package http
import (
// local
"github.com/pztrn/fastpastebin/api/http/static"
"github.com/pztrn/fastpastebin/context"
"gitlab.com/pztrn/fastpastebin/api/http/static"
"gitlab.com/pztrn/fastpastebin/context"
// other
"github.com/labstack/echo"

View File

@ -29,8 +29,8 @@ import (
"net/http"
// local
"github.com/pztrn/fastpastebin/captcha"
"github.com/pztrn/fastpastebin/templater"
"gitlab.com/pztrn/fastpastebin/captcha"
"gitlab.com/pztrn/fastpastebin/templater"
// other
"github.com/alecthomas/chroma/lexers"

View File

@ -26,7 +26,7 @@ package json
import (
// local
"github.com/pztrn/fastpastebin/context"
"gitlab.com/pztrn/fastpastebin/context"
)
var (

View File

@ -25,12 +25,12 @@
package captcha
import (
"github.com/labstack/echo"
// local
"github.com/pztrn/fastpastebin/context"
"gitlab.com/pztrn/fastpastebin/context"
// other
"github.com/dchest/captcha"
"github.com/labstack/echo"
)
var (

View File

@ -31,13 +31,13 @@ import (
"syscall"
// local
"github.com/pztrn/fastpastebin/api"
"github.com/pztrn/fastpastebin/captcha"
"github.com/pztrn/fastpastebin/context"
"github.com/pztrn/fastpastebin/database"
"github.com/pztrn/fastpastebin/database/migrations"
"github.com/pztrn/fastpastebin/pastes"
"github.com/pztrn/fastpastebin/templater"
"gitlab.com/pztrn/fastpastebin/api"
"gitlab.com/pztrn/fastpastebin/captcha"
"gitlab.com/pztrn/fastpastebin/context"
"gitlab.com/pztrn/fastpastebin/database"
"gitlab.com/pztrn/fastpastebin/database/migrations"
"gitlab.com/pztrn/fastpastebin/pastes"
"gitlab.com/pztrn/fastpastebin/templater"
)
func main() {

View File

@ -31,8 +31,8 @@ import (
"path/filepath"
// local
"github.com/pztrn/fastpastebin/config"
"github.com/pztrn/fastpastebin/database/interface"
"gitlab.com/pztrn/fastpastebin/config"
"gitlab.com/pztrn/fastpastebin/database/interface"
// other
"github.com/labstack/echo"

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

View File

@ -6,7 +6,7 @@ import (
"strings"
// local
"github.com/pztrn/fastpastebin/api/http/static"
"gitlab.com/pztrn/fastpastebin/api/http/static"
)
// CreateHTML creates pagination HTML based on passed parameters.

View File

@ -34,10 +34,10 @@ import (
"time"
// local
"github.com/pztrn/fastpastebin/captcha"
"github.com/pztrn/fastpastebin/pagination"
"github.com/pztrn/fastpastebin/pastes/model"
"github.com/pztrn/fastpastebin/templater"
"gitlab.com/pztrn/fastpastebin/captcha"
"gitlab.com/pztrn/fastpastebin/pagination"
"gitlab.com/pztrn/fastpastebin/pastes/model"
"gitlab.com/pztrn/fastpastebin/templater"
// other
"github.com/alecthomas/chroma"
@ -45,7 +45,7 @@ import (
htmlfmt "github.com/alecthomas/chroma/formatters/html"
"github.com/alecthomas/chroma/lexers"
"github.com/alecthomas/chroma/styles"
//"github.com/dchest/captcha"
//"gitlab.com/dchest/captcha"
"github.com/labstack/echo"
)

View File

@ -26,7 +26,7 @@ package pastes
import (
// local
"github.com/pztrn/fastpastebin/context"
"gitlab.com/pztrn/fastpastebin/context"
)
var (

View File

@ -30,8 +30,8 @@ import (
"strings"
// local
"github.com/pztrn/fastpastebin/api/http/static"
"github.com/pztrn/fastpastebin/context"
"gitlab.com/pztrn/fastpastebin/api/http/static"
"gitlab.com/pztrn/fastpastebin/context"
// other
"github.com/labstack/echo"