q

package module
v0.0.0-...-28750b4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2020 License: MIT Imports: 17 Imported by: 0

README

q

forked from github.com/y0ssar1an/q

q is a better way to do print statement debugging.

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/chunqian/q"
...
q.Q(a, b, c)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Q

func Q(v ...interface{})

Q pretty-prints the given arguments to the $TMPDIR/q log file.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL