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