CorgiMan / colar

Adds color highlighting to go compiler errors and panics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Go 100.0%