Switch to Gitlab.
This commit is contained in:
parent
2beb9ecef9
commit
fc8f4e9d8b
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -26,7 +26,7 @@ package json
|
||||
|
||||
import (
|
||||
// local
|
||||
"github.com/pztrn/fastpastebin/context"
|
||||
"gitlab.com/pztrn/fastpastebin/context"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -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 (
|
||||
|
@ -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() {
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -26,7 +26,7 @@ package pastes
|
||||
|
||||
import (
|
||||
// local
|
||||
"github.com/pztrn/fastpastebin/context"
|
||||
"gitlab.com/pztrn/fastpastebin/context"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user