From e55382c58310ea8bc27f1fd5719af32aa3621c49 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 24 Oct 2014 02:25:20 +0200 Subject: [PATCH] Import gofmt.sh helper from asciigoat.org/ini Signed-off-by: Alejandro Mery --- gofmt.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 gofmt.sh 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')