Depedensi Awal

This commit is contained in:
2025-06-09 11:30:46 +07:00
commit b077ef9f06
5 changed files with 181 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
package api
import (
"github.com/gofiber/fiber/v2"
)
type Handler struct {
// dependencies
}
func NewHandler() *Handler {
return &Handler{}
}
func (h *Handler) HealthCheck(c *fiber.Ctx) error {
return c.JSON(fiber.Map{
"status": "success",
"message": "Server is running",
})
}