We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi evereyone can we have example in grouping.md that show we can group router by params something like this or example more simple
grouping.md
func main() { app := fiber.New() api := app.Group("/api") // /api v1 := api.Group("/v1") // /api/v1 user := api.Group("/user") userID := user .Group("/:userID") v1.Get("/list", handler) // /api/v1/list user.Get("/", handler) // /api/v1/user userID.Get("/profile",handler) // /api/v1/user/1/profile userID.Put("/update",handler) // /api/v1/user/1/update log.Fatal(app.Listen(":3000")) }
The text was updated successfully, but these errors were encountered:
https://docs.gofiber.io/guide/grouping#paths
Should be enough, otherwise you can also create a pull request, as long as the example fits well into the documentation, that would be okay.
Sorry, something went wrong.
ya... you right ,maybe I will in recipes! . Docs should be simple and clear ... thx :)
No branches or pull requests
Hi evereyone can we have example in
grouping.md
that show we can group router by paramssomething like this or example more simple
The text was updated successfully, but these errors were encountered: