e2413a19be
refactoring
11 lines
180 B
Go
11 lines
180 B
Go
package main
|
|
|
|
import (
|
|
"github.com/labstack/echo/v4"
|
|
"net/http"
|
|
)
|
|
|
|
func homeController(c echo.Context) error {
|
|
return c.HTML(http.StatusOK, view("views/page/home.html", nil))
|
|
}
|