Configure routing

This commit is contained in:
Alexander
2026-05-03 16:10:24 +02:00
parent 58aa4ef23b
commit 6baa895c6c
5 changed files with 55 additions and 5 deletions
+15
View File
@@ -0,0 +1,15 @@
package router
import (
"homelab.lan/music-agregator/internal/indexer"
"github.com/gin-gonic/gin"
)
func SetupRoutes(r *gin.Engine) {
api := r.Group("/api/v1")
indexerGroup := api.Group("/indexer")
indexer.SetupRoutes(indexerGroup)
}