diff --git a/gofmt.sh b/gofmt.sh new file mode 100755 index 0000000..481e702 --- /dev/null +++ b/gofmt.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +BASE="$(dirname "$0")" +exec gofmt -l -w -e -s -- $(find "$BASE" -type f -name '*.go')