Path
Contains the path part of the request URL. Optionally, you could override the path by passing a string.
- c.Path(override ...string) string
- // GET http://example.com/users?sort=desc
- app.Get("/users", func(c *fiber.Ctx) {
- c.Path() // "/users"
- })