forked from mtusi2026/mtusi2026lab2
init(app) moved app code from Lab1
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user