refactor: migrate to Gitea server
All checks were successful
agola/goveal/Test and lint The run finished successfully

This commit is contained in:
Peter Kurfer 2022-09-25 14:23:22 +02:00
parent 2538fd2e5c
commit 38471371c9
No known key found for this signature in database
11 changed files with 18 additions and 20 deletions

View file

@ -6,7 +6,7 @@ import (
"github.com/julienschmidt/httprouter" "github.com/julienschmidt/httprouter"
"github.com/baez90/goveal/config" "code.icb4dc0.de/prskr/goveal/config"
) )
type ConfigAPI struct { type ConfigAPI struct {

View file

@ -11,7 +11,7 @@ import (
"github.com/julienschmidt/httprouter" "github.com/julienschmidt/httprouter"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"github.com/baez90/goveal/events" "code.icb4dc0.de/prskr/goveal/events"
) )
type ContentEventHandler chan events.ContentEvent type ContentEventHandler chan events.ContentEvent

View file

@ -7,9 +7,9 @@ import (
"strings" "strings"
"time" "time"
"github.com/baez90/goveal/assets" "code.icb4dc0.de/prskr/goveal/assets"
"github.com/baez90/goveal/fs" "code.icb4dc0.de/prskr/goveal/fs"
"github.com/baez90/goveal/web" "code.icb4dc0.de/prskr/goveal/web"
) )
func FileSystemMiddleware(fallthroughHandler http.Handler, wdfs fs.FS) http.Handler { func FileSystemMiddleware(fallthroughHandler http.Handler, wdfs fs.FS) http.Handler {

View file

@ -13,10 +13,10 @@ import (
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"go.uber.org/multierr" "go.uber.org/multierr"
"github.com/baez90/goveal/config" "code.icb4dc0.de/prskr/goveal/config"
"github.com/baez90/goveal/fs" "code.icb4dc0.de/prskr/goveal/fs"
"github.com/baez90/goveal/rendering" "code.icb4dc0.de/prskr/goveal/rendering"
"github.com/baez90/goveal/web" "code.icb4dc0.de/prskr/goveal/web"
) )
var indexTmpl *template.Template var indexTmpl *template.Template

View file

@ -20,7 +20,7 @@ import (
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/baez90/goveal/config" "code.icb4dc0.de/prskr/goveal/config"
) )
//nolint:lll // explanations are rather long //nolint:lll // explanations are rather long

View file

@ -14,10 +14,10 @@ import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
"go.uber.org/multierr" "go.uber.org/multierr"
"github.com/baez90/goveal/api" "code.icb4dc0.de/prskr/goveal/api"
"github.com/baez90/goveal/config" "code.icb4dc0.de/prskr/goveal/config"
"github.com/baez90/goveal/events" "code.icb4dc0.de/prskr/goveal/events"
"github.com/baez90/goveal/fs" "code.icb4dc0.de/prskr/goveal/fs"
) )
const ( const (

View file

@ -14,7 +14,7 @@ import (
"github.com/google/uuid" "github.com/google/uuid"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"github.com/baez90/goveal/fs" "code.icb4dc0.de/prskr/goveal/fs"
) )
const ( const (

2
go.mod
View file

@ -1,4 +1,4 @@
module github.com/baez90/goveal module code.icb4dc0.de/prskr/goveal
go 1.19 go 1.19

2
go.sum
View file

@ -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.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
github.com/golang/protobuf v1.4.3/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 h1:7h+tPfwoUE+qLvWYmsvKSiRlXv6WGorb6PUKaZUclwc=
github.com/gomarkdown/markdown v0.0.0-20220905174103-7b278df48cfb/go.mod h1:JDGcbDT52eL4fju3sZ4TeHGsQwhG9nbDV21aMyhwPoA= 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= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=

View file

@ -8,7 +8,7 @@ import (
"github.com/gomarkdown/markdown/parser" "github.com/gomarkdown/markdown/parser"
"github.com/valyala/bytebufferpool" "github.com/valyala/bytebufferpool"
"github.com/baez90/goveal/config" "code.icb4dc0.de/prskr/goveal/config"
) )
const ( const (

View file

@ -11,7 +11,7 @@ import (
"github.com/gomarkdown/markdown/parser" "github.com/gomarkdown/markdown/parser"
"github.com/valyala/bytebufferpool" "github.com/valyala/bytebufferpool"
"github.com/baez90/goveal/rendering/emoji" "code.icb4dc0.de/prskr/goveal/rendering/emoji"
) )
var ( var (