authelia/internal/middlewares
Amir Zarrinkafsh cc06ab6c18
[CI] Add gocritic linter (#977)
* [CI] Add gocritic linter

* Implement gocritic recommendations
The outstanding recommendations are due to be addressed in #959 and #971 respectively.

* Fix implementation tests

* Fix remaining linting issues.

* Fix tests.

Co-authored-by: Clément Michaud <clement.michaud34@gmail.com>
2020-05-06 10:52:06 +10:00
..
authelia_context.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
authelia_context_test.go [MISC] Fix goimports ordering for repo (#947) 2020-05-01 16:56:42 +10:00
const.go [CI] Add goconst linter (#961) 2020-05-02 18:20:40 +02:00
errors.go [MISC] Fail with an error message when X-Forwarded-* headers are missing (#631) 2020-02-13 13:12:37 +11:00
identity_verification.go [CI] Add gocritic linter (#977) 2020-05-06 10:52:06 +10:00
identity_verification_test.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
log_request.go Display correct RemoteIP in logs. 2019-12-11 19:01:16 +01:00
log_request_test.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
require_first_factor.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
types.go [CI] Add godot linter (#958) 2020-05-02 15:06:39 +10:00