Rename module to new repository root

This commit is contained in:
Achim Rohn
2025-11-15 12:04:39 +01:00
parent 7d213824cf
commit 18d05566e2
85 changed files with 251 additions and 251 deletions
+3 -3
View File
@@ -2,7 +2,7 @@ package htmx
import (
"encoding/json"
"ersteller-lib"
"git.gorlug.de/code/ersteller"
"github.com/labstack/echo/v4"
)
@@ -15,10 +15,10 @@ type LocationRedirectParams struct {
func LocationRedirect(c echo.Context, params LocationRedirectParams) error {
jsonData, err := json.Marshal(params)
if err != nil {
ersteller_lib.Error("Failed to marshal LocationRedirectParams ", params, err)
ersteller.Error("Failed to marshal LocationRedirectParams ", params, err)
return err
}
ersteller_lib.Debug("LocationRedirectParams", params, "jsonData", string(jsonData))
ersteller.Debug("LocationRedirectParams", params, "jsonData", string(jsonData))
c.Response().Header().Set("HX-Location", string(jsonData))
return nil
}