mirror of
https://codeberg.org/SafeTwitch/safetwitch-backend.git
synced 2024-12-22 13:13:00 -05:00
22 lines
463 B
Go
22 lines
463 B
Go
package routes
|
|
|
|
import (
|
|
"safetwitch-backend/routes/api/badges"
|
|
"safetwitch-backend/routes/api/discover"
|
|
"safetwitch-backend/routes/api/search"
|
|
"safetwitch-backend/routes/api/users"
|
|
"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)
|
|
|
|
proxy.Routes(router)
|
|
root.Routes(router)
|
|
}
|