2023-05-18 09:17:08 -05:00
|
|
|
package routes
|
|
|
|
|
|
|
|
import (
|
2023-05-31 18:39:07 -05:00
|
|
|
"safetwitch-backend/routes/api/badges"
|
2023-05-26 09:17:55 -05:00
|
|
|
"safetwitch-backend/routes/api/discover"
|
2023-06-06 07:31:12 -05:00
|
|
|
"safetwitch-backend/routes/api/search"
|
2023-05-26 09:17:55 -05:00
|
|
|
"safetwitch-backend/routes/api/users"
|
2023-07-04 19:54:12 -05:00
|
|
|
"safetwitch-backend/routes/api/vods"
|
2023-05-22 17:11:58 -05:00
|
|
|
"safetwitch-backend/routes/proxy"
|
2023-05-25 20:04:15 -05:00
|
|
|
"safetwitch-backend/routes/root"
|
2023-05-18 09:17:08 -05:00
|
|
|
|
|
|
|
"github.com/gin-gonic/gin"
|
|
|
|
)
|
|
|
|
|
|
|
|
func SetRoutes(router *gin.Engine) {
|
|
|
|
users.Routes(router)
|
2023-05-26 09:17:55 -05:00
|
|
|
discover.Routes(router)
|
2023-05-31 18:39:07 -05:00
|
|
|
badges.Routes(router)
|
2023-06-06 07:31:12 -05:00
|
|
|
search.Routes(router)
|
2023-07-04 19:54:12 -05:00
|
|
|
vods.Routes(router)
|
2023-05-26 09:17:55 -05:00
|
|
|
|
2023-05-22 17:11:58 -05:00
|
|
|
proxy.Routes(router)
|
2023-05-25 20:04:15 -05:00
|
|
|
root.Routes(router)
|
2023-05-18 09:17:08 -05:00
|
|
|
}
|