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

@@ -1,4 +1,4 @@
package serviceController
package controllers
import (
"net/http"

View File

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