Dmitri 0af44340d5
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 3m37s
initial work for service layer wrong
2026-04-21 00:10:05 +02:00

17 lines
424 B
Go

package http
import (
"git.kanopo.dev/rhythm/rhythm-backend/internal/http/api/auth"
"git.kanopo.dev/rhythm/rhythm-backend/internal/http/api/health"
"github.com/gin-gonic/gin"
)
func GlueRoutes(r *gin.Engine, healthHandler *health.Handler, authHandler *auth.Handler) {
api := r.Group("/api")
healthHandler.RegisterRoutes(api.Group("/health"))
v1 := api.Group("/v1")
authHandler.RegisterRoutes(v1.Group("/auth"))
}