All checks were successful
Build and Release / release (push) Successful in 1m6s
14 lines
302 B
Go
14 lines
302 B
Go
package routes
|
|
|
|
import (
|
|
"history-api/internal/controllers"
|
|
|
|
"github.com/gofiber/fiber/v3"
|
|
)
|
|
|
|
func WikiRoutes(router fiber.Router, wikiController *controllers.WikiController) {
|
|
wiki := router.Group("/wikis")
|
|
wiki.Get("/", wikiController.SearchWikis)
|
|
wiki.Get("/:id", wikiController.GetWikiById)
|
|
}
|