rclone/vendor/github.com/stretchr/testify/.travis.gofmt.sh
2017-07-23 08:51:42 +01:00

7 lines
105 B
Bash
Executable file

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