forked from mtusi2026/mtusi2026lab2
10 lines
206 B
Go
10 lines
206 B
Go
package chats
|
|
|
|
import "github.com/gofiber/fiber/v3"
|
|
|
|
func RegisterRoutes(router fiber.Router) {
|
|
router.Post("/chats", createChat)
|
|
router.Get("/chats", listChats)
|
|
router.Get("/chats/:chat_id", getChat)
|
|
}
|