log/get route params in fiber
Get route params
1app.Get("/:foo", func(c *fiber.Ctx) {
2 param := c.Params("foo")
3 // do something with param
4})
5// when we hit `/test`, param -> "test"
Get route params
1app.Get("/:foo", func(c *fiber.Ctx) {
2 param := c.Params("foo")
3 // do something with param
4})
5// when we hit `/test`, param -> "test"