https://github.com/songgao/colorGo
Colorize (highlight) `go build` command output
https://github.com/songgao/colorGo
go
Last synced: over 1 year ago
JSON representation
Colorize (highlight) `go build` command output
- Host: GitHub
- URL: https://github.com/songgao/colorGo
- Owner: songgao
- Created: 2013-02-14T18:06:10.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2020-07-18T23:02:45.000Z (almost 6 years ago)
- Last Synced: 2024-08-03T13:02:20.540Z (almost 2 years ago)
- Topics: go
- Language: Go
- Homepage:
- Size: 104 KB
- Stars: 112
- Watchers: 6
- Forks: 12
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# colorgo
`colorgo` is a wrapper to `go` command that colorizes output from `go build` and `go test`.

# Installation
```
go get -u github.com/songgao/colorgo
```
# Usage
```bash
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](http://opensource.org/licenses/BSD-3-Clause)