rss2twitter/vendor/github.com/stretchr/testify/.travis.gofmt.sh
2019-01-08 03:16:29 -06:00

7 righe
105 B
Bash
File eseguibile

#!/bin/bash
if [ -n "$(gofmt -l .)" ]; then
echo "Go code is not formatted:"
gofmt -d .
exit 1
fi