Add option to skip unexported fields
hhhapz opened this issue · 3 comments
hhhapz commented
Sometimes, when printing datastructures that you don't have access to, it's not possible to modify the struct tags. In these situations, sometimes it is nice to be able to ignore unexported fields. Perhaps a flag on the printer, or a global variable (for the default printer) could work?
k0kubun commented
Add option to skip unexported fields
sometimes it is nice to be able to ignore exported fields
Sorry, which one do you want?
hhhapz commented
Sorry! I meant to be able to ignore unexported fields, consistent with my issue title.