Rainbond/check.sh
2019-02-12 17:19:42 +08:00

11 lines
204 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