FleaBug provides an easy and pretty fmt.Println alternative to Go Lang projects.
It shows value plus type and also trace (file, line, and func)
Add this import line to the file you're working in:
import "github.com/ferminhg/fleabug"fleabug.Dump("wopwop")
fleabug.Dump(1, 2, 3)------------------------------------------------------------
wopwop (string)
# Called from $HOME/go/src/github.com/ferminhg/fleabug/dumper_test.go line #62
# func: github.com/ferminhg/fleabug.TestDumpDummy
------------------------------------------------------------
------------------------------------------------------------
1 (int)
2 (int)
3 (int)
# Called from $HOME/go/src/github.com/ferminhg/fleabug/dumper_test.go line #63
# func: github.com/ferminhg/fleabug.TestDumpDummy
------------------------------------------------------------$ go get -u github.com/ferminhg/fleabug- Fermin Hernandez (@fermin)
Fleabug is released under the MIT License. See the bundled LICENSE file for details.