{"repo":"goforj/godump","free":true,"listed":false,"github":"https://github.com/goforj/godump","clone":"git clone https://github.com/goforj/godump.git","description":"A minimal, developer-friendly pretty-printer and debug dumper for Go structs, inspired by Laravel’s dump() and Symfony’s VarDumper.","language":"Go","stars":1757,"topics":["dd","debugging","debugging-tools","dump","dumper","go","golang","laravel","pretty-print","var-dump"],"license":"MIT","category":"dev-tools","readme_excerpt":"godump is a developer-friendly, zero-dependency debug dumper for Go. It provides pretty, colorized terminal output of your structs, slices, maps, and more - complete with cyclic reference detection and control character escaping. Inspired by Symfony's VarDumper which is used in Laravel's tools like dump() and dd() . Terminal Output Example (Kitchen Sink) HTML Output Example godump.Diff(a,b) Output Example Feature Comparison: godump vs go-spew vs pp Feature godump go-spew pp -----------------------------------------------------------------------: :----------: :-----------: :------: Zero dependencies ✓ - - Colorized terminal output ✓ ✓ ✓ HTML output ✓ - - JSON output helpers ( DumpJSON , DumpJSONStr ) ✓ - - Diff output helpers ( Diff , DiffStr ) ✓ - - Diff HTML output ( DiffHTML ) ✓ - - Dump to io.Writer ✓ ✓ ✓ Shows file + line number of dump call ✓ - - Cyclic reference detection ✓ - Handles unexported struct fields ✓ ✓ ✓ Visibility markers ( + / - ) ✓ - - Max depth control ✓ - - Max items (slice/map truncation) ✓ - - Max string length truncation ✓ - - Dump & Die ( dd() equivalent) ✓ - - Control character escaping ✓ Supports structs, maps, slices, pointers, interfaces ✓ ✓ ✓ Pretty type name rendering ( #package.Type ) ✓ - - Builder-style configuration API ✓ - - Test-friendly string output ( DumpStr , DiffStr , DumpJSONStr ) ✓ ✓ ✓ HTML / Web UI debugging support ✓ - - If you'd like to suggest improvements or additional comparisons, feel free to open an issue or PR. Installation ","default_branch":null,"files":null,"tree":[],"storefront":"/r/goforj","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/goforj/godump/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}