From d09d7f068a19f8413dd79b04292f92bdd094f441 Mon Sep 17 00:00:00 2001 From: Abolfazl Nourzad Date: Sat, 27 Jan 2024 13:18:28 +0330 Subject: [PATCH] fix linter error --- delivery/http_server/middleware/benefactor_authorization.go | 1 + 1 file changed, 1 insertion(+) diff --git a/delivery/http_server/middleware/benefactor_authorization.go b/delivery/http_server/middleware/benefactor_authorization.go index 0371cc0..e442cda 100644 --- a/delivery/http_server/middleware/benefactor_authorization.go +++ b/delivery/http_server/middleware/benefactor_authorization.go @@ -9,6 +9,7 @@ import ( "github.com/labstack/echo/v4" ) +//nolint func BenefactorAuthorization(role entity.UserRole) echo.MiddlewareFunc { return func(next echo.HandlerFunc) echo.HandlerFunc { return func(c echo.Context) error {