You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OUT=`gofmt -l . | (grep -v '^vendor\/' || true)`; if [ "$OUT" ]; then echo "gofmt: $OUT"; exit 1; fi
# Check linting
OUT=`golint ./... | (grep -v '^vendor\/' || true)`; if [ "$OUT" ]; then echo "golint: $OUT"; exit 1; fi
# Check suspicious constructs
OUT=`find . -type d | grep -v -E '(^.$|^./vendor|^./.git|^./tmp|^./releases|/assets/)' | xargs go vet`; if [ "$OUT" ]; then echo "govet: $OUT"; exit 1; fi