Skip to content

KeyAuthValidator should return error as last item. #938

@hyacinthus

Description

@hyacinthus

Description

It's great to see KeyAuthValidator have got a "echo.Context" param, and returned an error.

Like:
KeyAuthValidator func(string, echo.Context) (error, bool)

But now, golint will say:

error should be the last type when returning multiple items...
😭

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions