var prettyPrintConfig … var prettyPrintConfigForHash … // Pretty wrap the spew.Sdump with Indent, and disabled methods like error() and String() // The output may change over time, so for guaranteed output please take more direct control func Pretty(a interface{ … } // ForHash keeps the original Spew.Sprintf format to ensure the same checksum func ForHash(a interface{ … } // OneLine outputs the object in one line func OneLine(a interface{ … }