Moved from gitlab.com to Gitea with giredore.

master
Stanislav Nikitin 3 years ago
parent 333fc1d12a
commit e042c4414f
No known key found for this signature in database
GPG Key ID: 106900B32F8192EE

2
.gitignore vendored

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save