linting and other cleanups

This commit is contained in:
Florian Schade
2020-11-16 14:01:32 +01:00
committed by Benedikt Kulmann
parent f8aa1a5e08
commit 8be5323276
8 changed files with 16 additions and 8 deletions

View File

@@ -9,6 +9,7 @@ import (
"strings"
)
// BasicAuth provides a middleware to check if BasicAuth is provided
func BasicAuth(optionSetters ...Option) func(next http.Handler) http.Handler {
options := newOptions(optionSetters...)