Skip to content

enrichman/gocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 17, 2023
02358f5 Β· Dec 17, 2023

History

8 Commits
Dec 17, 2023
Dec 17, 2023
Dec 17, 2023
Dec 17, 2023
Dec 17, 2023
Dec 17, 2023
Dec 17, 2023

Repository files navigation

gocol

Go color your test coverage! ✨

go test -cover ./... | gocol

gocol will turn this:

gocol 1

into this!

gocol 2

See immediately how much your projects is covered!

Installation

To install gocol just use go install

go install github.com/enrichman/gocol@v0.0.1

Usage

Pipe the output of a go test -cover to gocol

go test -cover ./... | gocol

If you are using the verbose -v then the PASS|FAIL|SKIP lines will be coloured as well.

gocol 4

Colors and ranges 🌈

Currently only a fixed range of colors and percentage is available.

gocol 3

Feedback

If you like the project please star it on Github 🌟, and feel free to drop me a note, or open an issue!

Twitter

License

MIT

About

Color your Go coverage!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages