15 lines
274 B
Go

package server
import (
"net/http"
"github.com/ekzyis/echo-htmx-templ-tailwindcss/pages"
"github.com/labstack/echo/v4"
)
func index(sCtx Context) echo.HandlerFunc {
return func(eCtx echo.Context) error {
return pages.Render(pages.Index(), http.StatusOK, eCtx)
}
}