0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch-backend.git synced 2024-12-22 13:13:00 -05:00
safetwitch-backend/routes/routes.go
2023-07-30 19:12:11 -04:00

26 lines
581 B
Go

package routes
import (
"safetwitch-backend/routes/api/badges"
"safetwitch-backend/routes/api/chat"
"safetwitch-backend/routes/api/discover"
"safetwitch-backend/routes/api/search"
"safetwitch-backend/routes/api/users"
"safetwitch-backend/routes/api/vods"
"safetwitch-backend/routes/proxy"
"safetwitch-backend/routes/root"
"github.com/gin-gonic/gin"
)
func SetRoutes(router *gin.Engine) {
users.Routes(router)
discover.Routes(router)
badges.Routes(router)
search.Routes(router)
vods.Routes(router)
chat.Routes(router)
proxy.Routes(router)
root.Routes(router)
}