Configure routing
This commit is contained in:
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user