12 lines
185 B
Go
12 lines
185 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/labstack/echo"
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
func adminHandler (c echo.Context) error {
|
||
|
//Template
|
||
|
return c.Render(http.StatusOK, "admin", Message{"schinken"})
|
||
|
}
|