2022-10-21 18:09:10 +00:00
|
|
|
package routes
|
|
|
|
|
|
|
|
import (
|
|
|
|
"cds/controllers"
|
|
|
|
|
|
|
|
"github.com/gofiber/fiber/v2"
|
|
|
|
)
|
|
|
|
|
|
|
|
func GameRoute(route fiber.Router) {
|
2022-11-14 17:40:20 +00:00
|
|
|
route.Get("/search", controllers.FindGame)
|
2022-10-21 18:09:10 +00:00
|
|
|
route.Get("/:id", controllers.GetGameById)
|
|
|
|
}
|