refactor: rebuild application with stl only

This commit is contained in:
Patryk Hegenberg 2024-11-27 16:49:27 +01:00
parent 0a4efb8630
commit da24e3c258
10 changed files with 36 additions and 56 deletions

View file

@ -3,11 +3,8 @@ package controllers
import (
"net/http"
"os"
"github.com/labstack/echo/v4"
)
func (c *Controller) EndRoute(ctx echo.Context) error {
func (c *Controller) EndRoute(w http.ResponseWriter, r *http.Request) {
os.Exit(0)
return ctx.HTML(http.StatusOK, "Tschüss")
}