I have a gofiber routing like this
app.Use(func(c *fiber.Ctx) error {
fmt.Println(c.Path()) <--- want this to get the original path name `/user/:id`
return c.Next()
})
app.Get("/user/:id", func(c *fiber.Ctx) error {
return c.SendString("Hello World")
})
When I call /user/1
the fmt print /user/1
but I want the fmt to print /user/:name
how can I implement it