Rainbond/check.sh

7 lines
115 B
Bash
Raw Normal View History

2019-02-12 15:40:42 +08:00
for n in `find . -name "*.go"`; do
if [[ $n != ./vendor/* ]];
then
gofmt -w $n
golint $n
fi
done