mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-09 12:16:50 +00:00
14 lines
258 B
Go
14 lines
258 B
Go
package server
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/labstack/echo/v4"
|
|
"github.com/rjNemo/rentease/internal/views"
|
|
)
|
|
|
|
func handleHomePage() echo.HandlerFunc {
|
|
return func(ctx echo.Context) error {
|
|
return renderTempl(ctx, http.StatusOK, views.Index())
|
|
}
|
|
}
|