Skip to content

Commit

Permalink
docs: fixed Group documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
EwenQuim committed Feb 22, 2024
1 parent 5bcaf2a commit 2bf1193
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mux.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
// For example:
//
// s := fuego.NewServer()
// viewsRoutes := fuego.Group("")
// apiRoutes := fuego.Group("/api")
// viewsRoutes := fuego.Group(s, "")
// apiRoutes := fuego.Group(s, "/api")
// // Registering a middlewares scoped to /api only
// fuego.Use(apiRoutes, myMiddleware)
// // Registering a route under /api/users
Expand Down

0 comments on commit 2bf1193

Please sign in to comment.