go-github-com-davecgh-go-spew 1.1.1 Deep pretty printer for Go data structures to aid in debugging

Package spew implements a deep pretty printer for Go data structures to aid in debugging.

A quick overview of the additional features spew provides over the built-in printing facilities for Go data types are as follows:

  • Pointers are dereferenced and followed.

  • Circular data structures are detected and handled properly.

  • Custom Stringer/error interfaces are optionally invoked, including on unexported types.

  • Custom types which only implement the Stringer/error interfaces via a pointer receiver are optionally invoked when passing non-pointer variables.

  • Byte arrays and slices are dumped like the hexdump -C command which includes offsets, byte values in hex, and ASCII output (only when using Dump style).