14 lines
296 B
Go
14 lines
296 B
Go
package middlewares
|
|
|
|
import (
|
|
"github.com/gofiber/fiber/v3"
|
|
)
|
|
|
|
func (f *Middlewares) DebugMode(c fiber.Ctx) error {
|
|
// fullURI := c.Request().URI().FullURI()
|
|
// host := c.BaseURL()
|
|
// fmt.Println(strings.Split(c.Path(), "/"))
|
|
// return c.SendString("ABC" + c.Params("+"))
|
|
return c.Next()
|
|
}
|