Documentation
¶
Overview ¶
Package q provides quick and dirty debugging output for tired programmers.
q.Q() is a fast way to pretty-print variables. It's easier than typing fmt.Printf("%#v", whatever). The output will be colorized and nicely formatted. The output goes to $TMPDIR/q, away from the noise of stdout.
q exports a single Q() function. This is how you use it:
import "github.com/beanjs/q" ... q.Q(a, b, c)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Log ¶
func Log(v ...interface{})
Q pretty-prints the given arguments to the $TMPDIR/q log file.
func ShowInTerminal ¶
func ShowInTerminal(enable bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.