mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-06 02:36:49 +00:00
* add comments to main file * create health check handler health check * use naming convention for booking handler * use naming convention for hamndlers naming convention * clean up
13 lines
202 B
Go
13 lines
202 B
Go
package server
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/labstack/echo/v4"
|
|
)
|
|
|
|
func handleHealthCheck() echo.HandlerFunc {
|
|
return func(c echo.Context) error {
|
|
return c.String(http.StatusOK, "healthy")
|
|
}
|
|
}
|