go fmt
fails when a file is formatted.
This tool is part of the go-github-release workflow
Pick an msi package here!
deb/ubuntu/rpm repositories
wget -O - https://raw.githubusercontent.com/mh-cbon/latest/master/source.sh \
| GH=mh-cbon/go-fmt-fail sh -xe
# or
curl -L https://raw.githubusercontent.com/mh-cbon/latest/master/source.sh \
| GH=mh-cbon/go-fmt-fail sh -xe
deb/ubuntu/rpm packages
curl -L https://raw.githubusercontent.com/mh-cbon/latest/master/install.sh \
| GH=mh-cbon/go-fmt-fail sh -xe
# or
wget -q -O - --no-check-certificate \
https://raw.githubusercontent.com/mh-cbon/latest/master/install.sh \
| GH=mh-cbon/go-fmt-fail sh -xe
chocolatey
choco install go-fmt-fail -y
go
mkdir -p $GOPATH/src/github.com/mh-cbon
cd $GOPATH/src/github.com/mh-cbon
git clone https://github.com/mh-cbon/go-fmt-fail.git
cd go-fmt-fail
glide install
go install
go-fmt-fail [packages or files]