Initial commit 3.

This commit is contained in:
2025-05-07 10:21:52 +08:00
parent 90fe018438
commit f1919ab7bd
12 changed files with 224 additions and 16 deletions
+14
View File
@@ -0,0 +1,14 @@
package routes
import (
"starter/backend/internal/handlers"
"starter/backend/internal/middleware"
"github.com/gin-gonic/gin"
)
// RegisterRoutes registers all API routes under the given group
func RegisterRoutes(rg *gin.RouterGroup) {
rg.Use(middleware.Logger())
rg.GET("/health", handlers.HealthCheck)
}