commit
06ea70833a
@ -0,0 +1,9 @@ |
||||
#!/bin/bash |
||||
|
||||
if [ -n "$(gofmt -l .)" ]; then |
||||
echo "Go code is not formatted:" |
||||
gofmt -d . |
||||
exit 1 |
||||
else |
||||
echo "Go code is well formatted ;)" |
||||
fi |
Loading…
Reference in new issue