Skip to content

Golang color wrappers to prettify spew dump output.

License

Notifications You must be signed in to change notification settings

paudley/colorout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

colorout

GoDoc GoDoc GitHub License GitHub go.mod Go version

Simple colored debugging output for golang.

This takes the incredibly useful output from Spew and colorizes it for more visually grepable console output.

Documentation

Full go doc style documentation for the project can be viewed online without installing this package by using the excellent GoDoc site here: http://godoc.org/github.com/paudley/colorout

You can also view the documentation locally once the package is installed with the godoc tool by running godoc -http=":6060" and pointing your browser to http://localhost:6060/pkg/github.com/paudley/colorout

Installation

$ go get -u github.com/paudley/colorout

Quick Start

Add this import line to the file you're working in:

import "github.com/paudley/colorout"