From 2bf119365b305056107a3a01a37f269e40d111b9 Mon Sep 17 00:00:00 2001 From: EwenQuim Date: Thu, 22 Feb 2024 12:10:57 +0100 Subject: [PATCH] docs: fixed Group documentation --- mux.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mux.go b/mux.go index dacd3146..4d11ea96 100644 --- a/mux.go +++ b/mux.go @@ -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