Revert "Add the module name after the path to the repo and simply name it ersteller"

This reverts commit a1b93c0eba.
This commit is contained in:
Achim Rohn
2025-11-15 11:38:04 +01:00
parent a1b93c0eba
commit 7c69f163b6
86 changed files with 251 additions and 253 deletions
+3 -3
View File
@@ -2,7 +2,7 @@ package htmx
import (
"encoding/json"
"git.gorlug.de/code/golang/ersteller-lib/ersteller"
"git.gorlug.de/code/golang/ersteller-lib"
"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.Error("Failed to marshal LocationRedirectParams ", params, err)
ersteller_lib.Error("Failed to marshal LocationRedirectParams ", params, err)
return err
}
ersteller.Debug("LocationRedirectParams", params, "jsonData", string(jsonData))
ersteller_lib.Debug("LocationRedirectParams", params, "jsonData", string(jsonData))
c.Response().Header().Set("HX-Location", string(jsonData))
return nil
}