go-spew/spew
Dave Collins 7ea732c827 Detect nil slices and print them as <nil>.
This commit modifies the code to detect nil slices and display them as
<nil> (as opposed to simply empty slices).  For most instances a nil slice
can be treated the same as an empty slice, but there is a difference and
things like reflect.DeepEqual notice.  This change makes it clear whether
the type in question is a nil slice or an empty slice.
2013-09-09 20:38:28 -05:00
..
common.go Dump byte arrays and slices like hexdump -C. 2013-03-08 22:15:12 -06:00
common_test.go Fix a couple of comment typos. 2013-02-07 18:43:36 -06:00
config.go Update docs for new Sdump function. 2013-03-11 18:37:09 -05:00
doc.go Update docs for new Sdump function. 2013-03-11 18:37:09 -05:00
dump.go Detect nil slices and print them as <nil>. 2013-09-09 20:38:28 -05:00
dump_test.go Add tests for packed nil interfaces. 2013-03-27 22:50:10 -05:00
example_test.go Add byte slice to Dump example. 2013-03-08 22:45:50 -06:00
format.go Detect nil slices and print them as <nil>. 2013-09-09 20:38:28 -05:00
format_test.go Add tests for packed nil interfaces. 2013-03-27 22:50:10 -05:00
internal_test.go Add tests for unrecognized reflect values. 2013-01-20 22:31:09 -06:00
spew.go Add support Sprint* family of functions. 2013-02-23 21:33:01 -06:00
spew_test.go Add tests for new Sdump function. 2013-03-11 18:17:45 -05:00