package
module
Version:
v1.1.1
Opens a new window with list of versions in this module.
Published: Jan 27, 2025
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
A port of Rust's dbg!
macro to Go:
dbg.Dbg(a, b, c)
// a = (int) 5, b = (string) "hello", c = (bool) true
For more information see the package documentation.
Licensed under the MIT License, Contributions welcome!
Documentation
¶
package dbg provides a more helpful fmt.Println for debugging in Go.
dbg.Dbg wraps spew.Dump to additionally print the name of each argument and the
filename and line number of the caller.
Dbg pretty-prints its arguments with their names, types and values to os.Stdout.
To pretty-prints its arguments with their names, types and values to the given Writer.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.