From f09fc5b7d0de8d0ece46ee6b23e7471ba3277b74 Mon Sep 17 00:00:00 2001 From: Muhammed Efe Cetin Date: Sat, 21 Oct 2023 15:56:50 +0300 Subject: [PATCH] fix linter --- app.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/app.go b/app.go index c0d28e065a..ebf1025167 100644 --- a/app.go +++ b/app.go @@ -624,9 +624,7 @@ func (app *App) Name(name string) Router { (app.latestRoute.Method == MethodGet && route.Method == MethodHead) if route.Path == app.latestRoute.Path && isMethodValid { - route.Name = name - if route.group != nil { route.Name = route.group.name + route.Name }