Skip to content
Colorize (highlight) `go build` command output
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
README.md
colorizer.go
main.go
sgrHelper.go

README.md

colorgo

colorgo is a wrapper to go command that colorizes output from go build and go test. screenshot 1

Installation

go get -u github.com/songgao/colorgo

Usage

colorgo build

alias

colorgo changes nothing to sub-commands other than go build. So you can optionally define alias in your shell conf so that go build always prints colorized error message:

bash: ~/.bashrc

alias go=colorgo

fish-shell: ~/.config/fish/config.fish

alias go colorgo

License

BSD 3-Clause License

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.