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