dd icon indicating copy to clipboard operation
dd copied to clipboard

Data Dumper library dumps any data as valid syntax in Go

Results 3 dd issues
Sort by recently updated
recently updated
newest added

I believe that it is useful to implement `OmitEmptyFields` option to omit zero value fields in struct. It can reduce lines of outputs, and it can highlight meaning value in...

Prototype of `WithOmitEmptyFields` option. Note: Currently, this PR contains workaround of #21. - #22

Internal implementation of `reflect.Value` and underlying struct of `context.Background()` has changed, so some tests failed after Go 1.21. ``` $ ~/.asdf/installs/golang/1.21.5/go/bin/go test --- FAIL: TestDumpBasic (0.00s) --- FAIL: TestDumpBasic/typed (0.00s)...