16 lines
244 B
Go
16 lines
244 B
Go
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)
|
|
}
|