@@ -346,14 +346,14 @@ testConfig := fiber.TestConfig{
346
346
347
347
### Removed Methods
348
348
349
- - ** AllParams** : Use ` c.Bind().URL () ` instead.
349
+ - ** AllParams** : Use ` c.Bind().URI () ` instead.
350
350
- ** ParamsInt** : Use ` Params ` with generic types.
351
351
- ** QueryBool** : Use ` Query ` with generic types.
352
352
- ** QueryFloat** : Use ` Query ` with generic types.
353
353
- ** QueryInt** : Use ` Query ` with generic types.
354
354
- ** BodyParser** : Use ` c.Bind().Body() ` instead.
355
355
- ** CookieParser** : Use ` c.Bind().Cookie() ` instead.
356
- - ** ParamsParser** : Use ` c.Bind().URL () ` instead.
356
+ - ** ParamsParser** : Use ` c.Bind().URI () ` instead.
357
357
- ** RedirectToRoute** : Use ` c.Redirect().Route() ` instead.
358
358
- ** RedirectBack** : Use ` c.Redirect().Back() ` instead.
359
359
- ** ReqHeaderParser** : Use ` c.Bind().Header() ` instead.
@@ -1117,7 +1117,7 @@ The `Parser` section in Fiber v3 has undergone significant changes to improve fu
1117
1117
1118
1118
</details>
1119
1119
1120
- 2 . **ParamsParser**: Use ` c.Bind().URL ()` instead of ` c.ParamsParser()` .
1120
+ 2 . **ParamsParser**: Use ` c.Bind().URI ()` instead of ` c.ParamsParser()` .
1121
1121
1122
1122
<details>
1123
1123
<summary>Example</summary>
@@ -1137,7 +1137,7 @@ The `Parser` section in Fiber v3 has undergone significant changes to improve fu
1137
1137
// After
1138
1138
app.Get("/user/:id", func(c fiber.Ctx) error {
1139
1139
var params Params
1140
- if err := c.Bind().URL (¶ms); err != nil {
1140
+ if err := c.Bind().URI (¶ms); err != nil {
1141
1141
return c.Status(fiber.StatusBadRequest).JSON(fiber.Map{"error": err.Error()})
1142
1142
}
1143
1143
return c.JSON(params)
0 commit comments