forked from ebhomengo/niki
fix linter error
This commit is contained in:
parent
52f9a4aac2
commit
d09d7f068a
|
@ -9,6 +9,7 @@ import (
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
//nolint
|
||||||
func BenefactorAuthorization(role entity.UserRole) echo.MiddlewareFunc {
|
func BenefactorAuthorization(role entity.UserRole) echo.MiddlewareFunc {
|
||||||
return func(next echo.HandlerFunc) echo.HandlerFunc {
|
return func(next echo.HandlerFunc) echo.HandlerFunc {
|
||||||
return func(c echo.Context) error {
|
return func(c echo.Context) error {
|
||||||
|
|
Loading…
Reference in New Issue