Rainbond/check.sh
2019-02-12 16:41:14 +08:00

11 lines
200 B
Bash
Executable File

for n in `find . -name "*.go"`; do
if [[ $n != ./vendor/* ]];
then
go tool vet $n
gofmt -w $n
# gometalinter $n
golint $n
gocyclo -over 15 $n
misspell $n
fi
done