refactor: controllers and routes

This commit is contained in:
2025-06-17 20:20:03 +03:00
parent 0b03c6ad90
commit 367647a8df
3 changed files with 11 additions and 10 deletions

View File

@@ -0,0 +1,16 @@
package routes
import (
"easywish/internal/controllers"
"github.com/gin-gonic/gin"
)
func SetupRoutes(r *gin.Engine) *gin.Engine {
// Healthcheck routes
serviceGroup := r.Group("/service")
{
serviceGroup.GET("/health", controllers.HealthCheck)
}
return r
}