diff --git a/scripts/gofmt.sh b/scripts/gofmt.sh deleted file mode 100755 index e4ae4bd9..00000000 --- a/scripts/gofmt.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -fmtcount=`git ls-files | grep '.go$' | xargs gofmt -l 2>&1 | wc -l` -if [ $fmtcount -gt 0 ]; then - echo "run 'go fmt ./...' to format your source code." - exit 1 -fi