prompt 1,2,3

This commit is contained in:
fabio
2026-02-22 17:36:16 +01:00
parent e9d7941c7e
commit be462b814c
18 changed files with 714 additions and 3 deletions

15
internal/http/router.go Normal file
View File

@@ -0,0 +1,15 @@
package http
import (
"trustcontact/internal/config"
"github.com/gofiber/fiber/v2"
"github.com/gofiber/fiber/v2/middleware/session"
"gorm.io/gorm"
)
func RegisterRoutes(app *fiber.App, _ *session.Store, _ *gorm.DB, _ *config.Config) {
app.Get("/healthz", func(c *fiber.Ctx) error {
return c.SendStatus(fiber.StatusOK)
})
}