How would you rather debug a data structure?
memviz
takes a pointer to an arbitrary data structure and generates an easy to understand graph.
Simply pass in your data structure like so: memviz.Map(out, &data)
and then pipe the output into graphviz.