Code cleanup and formatting

This commit is contained in:
KS Jannette
2026-05-19 04:09:33 -04:00
parent f67d57fedf
commit 2e30da54e2
9 changed files with 11 additions and 14 deletions

15
cmd/app/handler/health.go Normal file
View File

@@ -0,0 +1,15 @@
package handler
import (
"net/http"
"github.com/labstack/echo/v4"
)
func (h *Handler) setupHealthCheckRoutes(app *echo.Echo) {
app.GET("/health", h.healthCheck)
}
func (h *Handler) healthCheck(c echo.Context) error {
return c.String(http.StatusOK, "OK")
}