Skip to content

CorgiMan/colar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Colar

Colar helps makes the error messages from go a bit more readable by adding color highlighting

Installation

go get github.com/CorgiMan/colar
cd $GOPATH/src/github.com/CorgiMan/colar
go install

You might want to add the go binaries folder to your path with

export PATH=$PATH:$GOPATH/bin`

Usage:

Just run your program like normal and pipe the output into colar

go run main.go | colar

During compilation errors and panics, outputted go files and line numbers turn op red. During a panic colar appends a summary to the end of the output. The summary informs the user about the number of goroutines that were running at the time of the panic and the file the panic occured in.

About

Adds color highlighting to go compiler errors and panics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages