#121·go-spew

Request to add features that can suppress unexported fields

Author: flw-cnCreated Feb 4, 2020Updated Mar 13, 2024

Sometimes I want the data structure I get from Dump () as I actually see it. This can be very useful for debugging APIs. I don't want to see data that I can't access at all.

I'm not sure if anyone mentioned something similar before. I tried searching but didn't find it.

Anyway, I implemented this on my fork and it seems to work fine. So I sent you a PR, I hope you can consider whether to merge or re-implement it by other means.

Thank you in advance.