go-spew/spew
Dave Collins 2df174808e Add support for limited mode without unsafe pkg.
This commit adds support for compiling spew without the unsafe package.
When compiled without the unsafe package, some of the more advanced
features such as invoking stringers on pointers from non-pointer
variables and unexported struct fields are not available.

By default, spew will be compiled in the limited mode for Google App
Engine since the unsafe package is not available there.  Additionally,
spew can be compiled without the unsafe package manually by specifying
the "disableunsafe" build tag.

Finally, a new package-level constant named "UnsafeDisabled" has been
exposed which can be used to programmatically determine if spew was
compiled with access to the unsafe package.
2015-06-19 15:29:34 -05:00
..
testdata Dump non-zero len and cap for applicable types. 2014-05-05 22:39:05 -05:00
bypass.go Add support for limited mode without unsafe pkg. 2015-06-19 15:29:34 -05:00
bypasssafe.go Add support for limited mode without unsafe pkg. 2015-06-19 15:29:34 -05:00
common.go Add support for limited mode without unsafe pkg. 2015-06-19 15:29:34 -05:00
common_test.go Enable methods to sort map keys and spew itself as last resort 2015-04-10 08:46:42 -07:00
config.go Add support for limited mode without unsafe pkg. 2015-06-19 15:29:34 -05:00
doc.go Enable methods to sort map keys and spew itself as last resort 2015-04-10 08:46:42 -07:00
dump.go Add support for limited mode without unsafe pkg. 2015-06-19 15:29:34 -05:00
dump_test.go Add support for limited mode without unsafe pkg. 2015-06-19 15:29:34 -05:00
dumpcgo_test.go Add support for limited mode without unsafe pkg. 2015-06-19 15:29:34 -05:00
dumpnocgo_test.go Add tests for recent cgo handling updates. 2013-09-21 21:50:00 -05:00
example_test.go Add support for limited mode without unsafe pkg. 2015-06-19 15:29:34 -05:00
format.go Enable methods to sort map keys and spew itself as last resort 2015-04-10 08:46:42 -07:00
format_test.go Add support for limited mode without unsafe pkg. 2015-06-19 15:29:34 -05:00
internal_test.go Add support for limited mode without unsafe pkg. 2015-06-19 15:29:34 -05:00
internalunsafe_test.go Add support for limited mode without unsafe pkg. 2015-06-19 15:29:34 -05:00
spew.go Fix a few style issues pointed out by golint. 2013-11-14 21:19:56 -06:00
spew_test.go Add support for limited mode without unsafe pkg. 2015-06-19 15:29:34 -05:00