davecgh / go-spew

Implements a deep pretty printer for Go data structures to aid in debugging
ISC License
5.98k stars 361 forks source link

unsafe on GAE #62

Closed pjebs closed 7 years ago

pjebs commented 7 years ago

For environments where unsafe isn't allowed, will this package follow pointers and print out their concrete value?

dmitshur commented 7 years ago

There's a section in the README about this, but it doesn't seem to go into details:

https://github.com/davecgh/go-spew#unsafe-package-dependency

however it also supports a "limited" mode which allows it to work in environments where the unsafe package is not available.

pjebs commented 7 years ago

I tested this on GAE. I can confirm that this package DOES follow pointers and prints out its concrete value.

@davecgh What exactly are the reduced features in "limited" mode then?