Moved from gitlab.com to Gitea with giredore.

This commit is contained in:
Stanislav Nikitin 2019-10-12 14:18:35 +05:00
parent 333fc1d12a
commit e042c4414f
No known key found for this signature in database
GPG Key ID: 106900B32F8192EE
31 changed files with 56 additions and 56 deletions

2
.gitignore vendored
View File

@ -1,5 +1,5 @@
examples/fastpastebin.yaml
dist/
data/
.idea
*DS_Store*

View File

@ -31,13 +31,13 @@ import (
"syscall"
// local
"gitlab.com/pztrn/fastpastebin/domains/database_not_available"
"gitlab.com/pztrn/fastpastebin/domains/indexpage"
"gitlab.com/pztrn/fastpastebin/domains/pastes"
"gitlab.com/pztrn/fastpastebin/internal/captcha"
"gitlab.com/pztrn/fastpastebin/internal/context"
"gitlab.com/pztrn/fastpastebin/internal/database"
"gitlab.com/pztrn/fastpastebin/internal/templater"
"go.dev.pztrn.name/fastpastebin/domains/database_not_available"
"go.dev.pztrn.name/fastpastebin/domains/indexpage"
"go.dev.pztrn.name/fastpastebin/domains/pastes"
"go.dev.pztrn.name/fastpastebin/internal/captcha"
"go.dev.pztrn.name/fastpastebin/internal/context"
"go.dev.pztrn.name/fastpastebin/internal/database"
"go.dev.pztrn.name/fastpastebin/internal/templater"
)
func main() {

View File

@ -29,7 +29,7 @@ import (
"net/http"
// local
"gitlab.com/pztrn/fastpastebin/internal/templater"
"go.dev.pztrn.name/fastpastebin/internal/templater"
// other
"github.com/labstack/echo"

View File

@ -26,7 +26,7 @@ package database_not_available
import (
// local
"gitlab.com/pztrn/fastpastebin/internal/context"
"go.dev.pztrn.name/fastpastebin/internal/context"
)
var (

View File

@ -26,7 +26,7 @@ package indexpage
import (
// local
"gitlab.com/pztrn/fastpastebin/internal/context"
"go.dev.pztrn.name/fastpastebin/internal/context"
)
var (

View File

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

View File

@ -29,7 +29,7 @@ import (
"regexp"
// local
"gitlab.com/pztrn/fastpastebin/internal/context"
"go.dev.pztrn.name/fastpastebin/internal/context"
)
var (

View File

@ -8,8 +8,8 @@ import (
"time"
// local
"gitlab.com/pztrn/fastpastebin/internal/structs"
"gitlab.com/pztrn/fastpastebin/internal/templater"
"go.dev.pztrn.name/fastpastebin/internal/structs"
"go.dev.pztrn.name/fastpastebin/internal/templater"
// other
"github.com/alecthomas/chroma"

View File

@ -9,9 +9,9 @@ import (
"time"
// local
"gitlab.com/pztrn/fastpastebin/internal/captcha"
"gitlab.com/pztrn/fastpastebin/internal/structs"
"gitlab.com/pztrn/fastpastebin/internal/templater"
"go.dev.pztrn.name/fastpastebin/internal/captcha"
"go.dev.pztrn.name/fastpastebin/internal/structs"
"go.dev.pztrn.name/fastpastebin/internal/templater"
// other
"github.com/alecthomas/chroma/lexers"

View File

@ -31,8 +31,8 @@ import (
"strings"
// local
"gitlab.com/pztrn/fastpastebin/internal/pagination"
"gitlab.com/pztrn/fastpastebin/internal/templater"
"go.dev.pztrn.name/fastpastebin/internal/pagination"
"go.dev.pztrn.name/fastpastebin/internal/templater"
// other
"github.com/labstack/echo"

View File

@ -26,7 +26,7 @@ package captcha
import (
// local
"gitlab.com/pztrn/fastpastebin/internal/context"
"go.dev.pztrn.name/fastpastebin/internal/context"
// other
"github.com/dchest/captcha"

View File

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

View File

@ -2,7 +2,7 @@ package context
import (
// local
"gitlab.com/pztrn/fastpastebin/assets/static"
"go.dev.pztrn.name/fastpastebin/assets/static"
// other
"github.com/labstack/echo"

View File

@ -29,11 +29,11 @@ import (
"database/sql"
// local
"gitlab.com/pztrn/fastpastebin/internal/database/dialects/flatfiles"
"gitlab.com/pztrn/fastpastebin/internal/database/dialects/interface"
"gitlab.com/pztrn/fastpastebin/internal/database/dialects/mysql"
"gitlab.com/pztrn/fastpastebin/internal/database/dialects/postgresql"
"gitlab.com/pztrn/fastpastebin/internal/structs"
"go.dev.pztrn.name/fastpastebin/internal/database/dialects/flatfiles"
"go.dev.pztrn.name/fastpastebin/internal/database/dialects/interface"
"go.dev.pztrn.name/fastpastebin/internal/database/dialects/mysql"
"go.dev.pztrn.name/fastpastebin/internal/database/dialects/postgresql"
"go.dev.pztrn.name/fastpastebin/internal/structs"
// other
_ "github.com/go-sql-driver/mysql"

View File

@ -26,8 +26,8 @@ package flatfiles
import (
// local
"gitlab.com/pztrn/fastpastebin/internal/context"
"gitlab.com/pztrn/fastpastebin/internal/database/dialects/interface"
"go.dev.pztrn.name/fastpastebin/internal/context"
"go.dev.pztrn.name/fastpastebin/internal/database/dialects/interface"
)
var (

View File

@ -37,7 +37,7 @@ import (
"sync"
// local
"gitlab.com/pztrn/fastpastebin/internal/structs"
"go.dev.pztrn.name/fastpastebin/internal/structs"
)
type FlatFiles struct {

View File

@ -29,7 +29,7 @@ import (
"database/sql"
// local
"gitlab.com/pztrn/fastpastebin/internal/structs"
"go.dev.pztrn.name/fastpastebin/internal/structs"
)
type Handler struct{}

View File

@ -29,7 +29,7 @@ import (
"database/sql"
// local
"gitlab.com/pztrn/fastpastebin/internal/structs"
"go.dev.pztrn.name/fastpastebin/internal/structs"
)
type Interface interface {

View File

@ -26,8 +26,8 @@ package mysql
import (
// local
"gitlab.com/pztrn/fastpastebin/internal/context"
"gitlab.com/pztrn/fastpastebin/internal/database/dialects/interface"
"go.dev.pztrn.name/fastpastebin/internal/context"
"go.dev.pztrn.name/fastpastebin/internal/database/dialects/interface"
)
var (

View File

@ -29,7 +29,7 @@ import (
"database/sql"
// local
"gitlab.com/pztrn/fastpastebin/internal/structs"
"go.dev.pztrn.name/fastpastebin/internal/structs"
)
type Handler struct{}

View File

@ -26,7 +26,7 @@ package migrations
import (
// local
"gitlab.com/pztrn/fastpastebin/internal/context"
"go.dev.pztrn.name/fastpastebin/internal/context"
// other
//"gitlab.com/jmoiron/sqlx"

View File

@ -30,8 +30,8 @@ import (
"fmt"
// local
"gitlab.com/pztrn/fastpastebin/internal/database/dialects/mysql/migrations"
"gitlab.com/pztrn/fastpastebin/internal/structs"
"go.dev.pztrn.name/fastpastebin/internal/database/dialects/mysql/migrations"
"go.dev.pztrn.name/fastpastebin/internal/structs"
// other
_ "github.com/go-sql-driver/mysql"

View File

@ -26,8 +26,8 @@ package postgresql
import (
// local
"gitlab.com/pztrn/fastpastebin/internal/context"
"gitlab.com/pztrn/fastpastebin/internal/database/dialects/interface"
"go.dev.pztrn.name/fastpastebin/internal/context"
"go.dev.pztrn.name/fastpastebin/internal/database/dialects/interface"
)
var (

View File

@ -29,7 +29,7 @@ import (
"database/sql"
// local
"gitlab.com/pztrn/fastpastebin/internal/structs"
"go.dev.pztrn.name/fastpastebin/internal/structs"
)
type Handler struct{}

View File

@ -26,7 +26,7 @@ package migrations
import (
// local
"gitlab.com/pztrn/fastpastebin/internal/context"
"go.dev.pztrn.name/fastpastebin/internal/context"
// other
//"gitlab.com/jmoiron/sqlx"

View File

@ -31,8 +31,8 @@ import (
"time"
// local
"gitlab.com/pztrn/fastpastebin/internal/database/dialects/postgresql/migrations"
"gitlab.com/pztrn/fastpastebin/internal/structs"
"go.dev.pztrn.name/fastpastebin/internal/database/dialects/postgresql/migrations"
"go.dev.pztrn.name/fastpastebin/internal/structs"
// other
"github.com/jmoiron/sqlx"

View File

@ -26,8 +26,8 @@ package database
import (
// local
"gitlab.com/pztrn/fastpastebin/internal/context"
"gitlab.com/pztrn/fastpastebin/internal/database/interface"
"go.dev.pztrn.name/fastpastebin/internal/context"
"go.dev.pztrn.name/fastpastebin/internal/database/interface"
)
var (

View File

@ -29,8 +29,8 @@ import (
"database/sql"
// local
"gitlab.com/pztrn/fastpastebin/internal/database/dialects/interface"
"gitlab.com/pztrn/fastpastebin/internal/structs"
"go.dev.pztrn.name/fastpastebin/internal/database/dialects/interface"
"go.dev.pztrn.name/fastpastebin/internal/structs"
)
// Handler is an interfaceable structure that proxifies calls from anyone

View File

@ -29,8 +29,8 @@ import (
"database/sql"
// local
"gitlab.com/pztrn/fastpastebin/internal/database/dialects/interface"
"gitlab.com/pztrn/fastpastebin/internal/structs"
"go.dev.pztrn.name/fastpastebin/internal/database/dialects/interface"
"go.dev.pztrn.name/fastpastebin/internal/structs"
)
// Interface represents database interface which is available to all

View File

@ -6,7 +6,7 @@ import (
"strings"
// local
"gitlab.com/pztrn/fastpastebin/assets/static"
"go.dev.pztrn.name/fastpastebin/assets/static"
)
// CreateHTML creates pagination HTML based on passed parameters.

View File

@ -30,8 +30,8 @@ import (
"strings"
// local
"gitlab.com/pztrn/fastpastebin/assets/static"
"gitlab.com/pztrn/fastpastebin/internal/context"
"go.dev.pztrn.name/fastpastebin/assets/static"
"go.dev.pztrn.name/fastpastebin/internal/context"
// other
"github.com/labstack/echo"