updated dependencies

This commit is contained in:
ston1th 2020-06-25 15:34:32 +02:00
commit d45fa68a90
703 changed files with 93434 additions and 103138 deletions

View file

@ -295,7 +295,7 @@ A more complex authentication middleware, which maps session token to users, cou
r := mux.NewRouter()
r.HandleFunc("/", handler)
amw := authenticationMiddleware{}
amw := authenticationMiddleware{tokenUsers: make(map[string]string)}
amw.Populate()
r.Use(amw.Middleware)