We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c856192 commit e0b5abaCopy full SHA for e0b5aba
example_authentication_middleware_test.go
@@ -40,7 +40,7 @@ func Example_authenticationMiddleware() {
40
r.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
41
// Do something here
42
})
43
- amw := authenticationMiddleware{}
+ amw := authenticationMiddleware{make(map[string]string)}
44
amw.Populate()
45
r.Use(amw.Middleware)
46
}
0 commit comments