package main import ( "github.com/labstack/echo/v4" "net/http" ) type HomeViewParams struct { Config Config } func homeController(c echo.Context) error { return c.HTML(http.StatusOK, view("views/page/home.html", HomeViewParams{ Config: config, })) }