refactor: rebuild application with stl only
This commit is contained in:
parent
0a4efb8630
commit
da24e3c258
10 changed files with 36 additions and 56 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue