22 lines
293 B
Go
22 lines
293 B
Go
package api
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"bdgrp_go/routes"
|
|
|
|
"github.com/gofiber/fiber/v2"
|
|
)
|
|
|
|
func init() {
|
|
path := routes.PathOf()
|
|
routes.Register(func(app *fiber.App) {
|
|
app.Post(path, multiroom)
|
|
fmt.Println("Loaded:", path)
|
|
})
|
|
}
|
|
|
|
func multiroom(c *fiber.Ctx) error {
|
|
return c.SendString("")
|
|
}
|