-
Notifications
You must be signed in to change notification settings - Fork 56
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
Dumping context.Context() doesn't show useful info #30
Comments
Does Spew handle contexts as a special case? |
I didn't find any reference to context.Context in their code (any import). So just a quick guess, maybe their introspection throgh reflect giving inner values. I will try later to debug and check their flow. |
Litter's default options hide private fields. Tried using |
Tried |
That sounds like a bug, indeed. Can you file a separate issue with example code? Thanks! |
Code:
litter.Dump(r.Context())
where r is a http.Request.Output
While
github.com/davecgh/go-spew
does show Values and other properties set in Context.The text was updated successfully, but these errors were encountered: