13 lines
206 B
Go
13 lines
206 B
Go
package routes
|
|
|
|
import (
|
|
"cds/controllers"
|
|
|
|
"github.com/gofiber/fiber/v2"
|
|
)
|
|
|
|
func GameRoute(route fiber.Router) {
|
|
route.Get("/search", controllers.FindGame)
|
|
route.Get("/:id", controllers.GetGameById)
|
|
}
|