refactor: migrate to Gitea server
All checks were successful
agola/goveal/Test and lint The run finished successfully
All checks were successful
agola/goveal/Test and lint The run finished successfully
This commit is contained in:
parent
2538fd2e5c
commit
38471371c9
11 changed files with 18 additions and 20 deletions
|
@ -6,7 +6,7 @@ import (
|
|||
|
||||
"github.com/julienschmidt/httprouter"
|
||||
|
||||
"github.com/baez90/goveal/config"
|
||||
"code.icb4dc0.de/prskr/goveal/config"
|
||||
)
|
||||
|
||||
type ConfigAPI struct {
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
"github.com/julienschmidt/httprouter"
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/baez90/goveal/events"
|
||||
"code.icb4dc0.de/prskr/goveal/events"
|
||||
)
|
||||
|
||||
type ContentEventHandler chan events.ContentEvent
|
||||
|
|
|
@ -7,9 +7,9 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/baez90/goveal/assets"
|
||||
"github.com/baez90/goveal/fs"
|
||||
"github.com/baez90/goveal/web"
|
||||
"code.icb4dc0.de/prskr/goveal/assets"
|
||||
"code.icb4dc0.de/prskr/goveal/fs"
|
||||
"code.icb4dc0.de/prskr/goveal/web"
|
||||
)
|
||||
|
||||
func FileSystemMiddleware(fallthroughHandler http.Handler, wdfs fs.FS) http.Handler {
|
||||
|
|
|
@ -13,10 +13,10 @@ import (
|
|||
log "github.com/sirupsen/logrus"
|
||||
"go.uber.org/multierr"
|
||||
|
||||
"github.com/baez90/goveal/config"
|
||||
"github.com/baez90/goveal/fs"
|
||||
"github.com/baez90/goveal/rendering"
|
||||
"github.com/baez90/goveal/web"
|
||||
"code.icb4dc0.de/prskr/goveal/config"
|
||||
"code.icb4dc0.de/prskr/goveal/fs"
|
||||
"code.icb4dc0.de/prskr/goveal/rendering"
|
||||
"code.icb4dc0.de/prskr/goveal/web"
|
||||
)
|
||||
|
||||
var indexTmpl *template.Template
|
||||
|
|
|
@ -20,7 +20,7 @@ import (
|
|||
log "github.com/sirupsen/logrus"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/baez90/goveal/config"
|
||||
"code.icb4dc0.de/prskr/goveal/config"
|
||||
)
|
||||
|
||||
//nolint:lll // explanations are rather long
|
||||
|
|
|
@ -14,10 +14,10 @@ import (
|
|||
"github.com/spf13/cobra"
|
||||
"go.uber.org/multierr"
|
||||
|
||||
"github.com/baez90/goveal/api"
|
||||
"github.com/baez90/goveal/config"
|
||||
"github.com/baez90/goveal/events"
|
||||
"github.com/baez90/goveal/fs"
|
||||
"code.icb4dc0.de/prskr/goveal/api"
|
||||
"code.icb4dc0.de/prskr/goveal/config"
|
||||
"code.icb4dc0.de/prskr/goveal/events"
|
||||
"code.icb4dc0.de/prskr/goveal/fs"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -14,7 +14,7 @@ import (
|
|||
"github.com/google/uuid"
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/baez90/goveal/fs"
|
||||
"code.icb4dc0.de/prskr/goveal/fs"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module github.com/baez90/goveal
|
||||
module code.icb4dc0.de/prskr/goveal
|
||||
|
||||
go 1.19
|
||||
|
||||
|
|
2
go.sum
2
go.sum
|
@ -93,8 +93,6 @@ github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvq
|
|||
github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
|
||||
github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
|
||||
github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
|
||||
github.com/gomarkdown/markdown v0.0.0-20220830015526-01a3c37d6f50 h1:tSuUky4sFWjiIIEOefDDBjx5BUIT3kZwcXHM2CNDdTk=
|
||||
github.com/gomarkdown/markdown v0.0.0-20220830015526-01a3c37d6f50/go.mod h1:JDGcbDT52eL4fju3sZ4TeHGsQwhG9nbDV21aMyhwPoA=
|
||||
github.com/gomarkdown/markdown v0.0.0-20220905174103-7b278df48cfb h1:7h+tPfwoUE+qLvWYmsvKSiRlXv6WGorb6PUKaZUclwc=
|
||||
github.com/gomarkdown/markdown v0.0.0-20220905174103-7b278df48cfb/go.mod h1:JDGcbDT52eL4fju3sZ4TeHGsQwhG9nbDV21aMyhwPoA=
|
||||
github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"github.com/gomarkdown/markdown/parser"
|
||||
"github.com/valyala/bytebufferpool"
|
||||
|
||||
"github.com/baez90/goveal/config"
|
||||
"code.icb4dc0.de/prskr/goveal/config"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
"github.com/gomarkdown/markdown/parser"
|
||||
"github.com/valyala/bytebufferpool"
|
||||
|
||||
"github.com/baez90/goveal/rendering/emoji"
|
||||
"code.icb4dc0.de/prskr/goveal/rendering/emoji"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
Loading…
Reference in a new issue