Golang color wrappers to prettify spew dump output.
Find a file
2024-05-22 00:04:45 -07:00
.github (git) initial commit 2024-05-16 22:07:37 -07:00
.golangci.yml (qa) update for newer and more golangci-lint checks 2024-05-21 22:37:24 -07:00
color.go (qa) improve docs and tests a little 2024-05-21 23:23:46 -07:00
color_test.go (qa) do not lint tests for now 2024-05-16 22:11:09 -07:00
example_test.go (qa) improve docs and tests a little 2024-05-21 23:23:46 -07:00
go.mod (qa) drop the go.mod version to 1.20 2024-05-21 22:54:11 -07:00
go.sum (git) initial commit 2024-05-16 22:07:37 -07:00
LICENSE (git) initial commit 2024-05-16 22:07:37 -07:00
README.md (qa) godoc badge fiddling 2024-05-22 00:04:45 -07:00
SECURITY.md (git) initial commit 2024-05-16 22:07:37 -07:00

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"