go-spew icon indicating copy to clipboard operation
go-spew copied to clipboard

Feat: add DisableUnexported

Open flw-cn opened this issue 5 years ago • 1 comments

DisableUnexported specifies whether to disable the unexported fields of struct. This is useful for debugging APIs.

This should close #121.

flw-cn avatar Feb 04 '20 10:02 flw-cn

I noticed that the previous changes did not have accompanying test cases, which resulted in a slight drop in test case coverage. For that reason, I've dedicated today to writing a set of test cases to show that I'm doing it right.

There are still some errors in the CI process, but I don't think they're caused by my changes.

@davecgh Could you take a look at this PR at a convenient time?

flw-cn avatar Jun 24 '20 14:06 flw-cn