From c956f6c35eb4493ee9fa96f05e686773396b883c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9?= Date: Sat, 24 May 2025 23:53:16 +0200 Subject: [PATCH] fix lint issues --- app.go | 2 +- router.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app.go b/app.go index ed7713b9..341d129b 100644 --- a/app.go +++ b/app.go @@ -624,7 +624,7 @@ func New(config ...Config) *App { } // NewWithCustomCtx creates a new Fiber instance and applies the -// provided function to generate a custom context type. It mirrors the behaviour +// provided function to generate a custom context type. It mirrors the behavior // of calling `New()` followed by `app.setCtxFunc(fn)`. func NewWithCustomCtx(newCtxFunc func(app *App) CustomCtx, config ...Config) *App { app := New(config...) diff --git a/router.go b/router.go index 99a90230..a6eef884 100644 --- a/router.go +++ b/router.go @@ -107,7 +107,7 @@ func (r *Route) match(detectionPath, path string, params *[maxParams]string) boo return false } -func (app *App) next(c CustomCtx) (bool, error) { //nolint:unparam // bool param might be useful for testing +func (app *App) next(c CustomCtx) (bool, error) { // Get stack length tree, ok := app.treeStack[c.getMethodInt()][c.getTreePathHash()] if !ok {