fix: imports dans handler.go

This commit is contained in:
Victor Lacasse-Beaudoin 2024-08-22 13:33:59 -04:00
parent 1c2220337c
commit a76a907ce5

View file

@ -10,8 +10,6 @@ import (
"codeberg.org/vlbeaudoin/pave/v2" "codeberg.org/vlbeaudoin/pave/v2"
"codeberg.org/vlbeaudoin/voki/v3" "codeberg.org/vlbeaudoin/voki/v3"
"git.agecem.com/agecem/agecem-org/api"
"git.agecem.com/agecem/agecem-org/media"
"git.agecem.com/agecem/agecem-org/version" "git.agecem.com/agecem/agecem-org/version"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7"
@ -19,7 +17,7 @@ import (
type V1Handler struct { type V1Handler struct {
Config Config Config Config
MediaClient *media.MediaClient MediaClient *MediaClient
Pave *pave.Pave Pave *pave.Pave
} }
@ -565,7 +563,7 @@ func (h *V1Handler) ReadSpec(c echo.Context) error {
} }
type WebHandler struct { type WebHandler struct {
ApiClient *api.API ApiClient *API
} }
func HandleIndex(c echo.Context) error { func HandleIndex(c echo.Context) error {