add more routes
This commit is contained in:
20
routes/api/user/param_userid/multiroomfriendrecruitment.go
Normal file
20
routes/api/user/param_userid/multiroomfriendrecruitment.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package param_userid
|
||||
|
||||
import (
|
||||
"bdgrp_go/routes"
|
||||
"fmt"
|
||||
|
||||
"github.com/gofiber/fiber/v2"
|
||||
)
|
||||
|
||||
func init() {
|
||||
path := routes.PathOf()
|
||||
routes.Register(func(app *fiber.App) {
|
||||
app.Get(path, recruitment)
|
||||
fmt.Println("Loaded:", path)
|
||||
})
|
||||
}
|
||||
|
||||
func recruitment(c *fiber.Ctx) error {
|
||||
return c.SendStatus(200)
|
||||
}
|
||||
Reference in New Issue
Block a user