mh-cbon / go-fmt-fail

go fmt fails when a file is formatted.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-fmt-fail

go fmt fails when a file is formatted.

This tool is part of the go-github-release workflow

Install

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

Usage

go-fmt-fail [packages or files]

About

go fmt fails when a file is formatted.

License:MIT License


Languages

Language:Go 100.0%