Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"assignment to entry in nil map" in document #488

Closed
darknoll opened this issue Jun 19, 2019 · 2 comments · Fixed by #489
Closed

"assignment to entry in nil map" in document #488

darknoll opened this issue Jun 19, 2019 · 2 comments · Fixed by #489

Comments

@darknoll
Copy link

amw := authenticationMiddleware{}
amw.Populate()


amw := authenticationMiddleware{}
amw.tokenUsers = make(map[string]string)
amw.Populate()

@fharding1
Copy link
Contributor

Runnable example: https://play.golang.org/p/a45X5e78c0h

@fharding1
Copy link
Contributor

@darknoll I've opened a PR to fix this issue here: #489

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants