HTRACE-71. format.sh: only format src/ directory (cmccabe)
diff --git a/htrace-core/src/go/format.sh b/htrace-core/src/go/format.sh
index 01ea338..46aa5b1 100755
--- a/htrace-core/src/go/format.sh
+++ b/htrace-core/src/go/format.sh
@@ -37,4 +37,4 @@
 
 # Find go sources.  We assume no newlines or whitespace in file names.
 SCRIPT_DIR="$(cd "$( dirname $0 )" && pwd)"
-find "${SCRIPT_DIR}" -noleaf -xdev -name '*.go' | xargs -L 1 gofmt -w
+find "${SCRIPT_DIR}/src" -noleaf -xdev -name '*.go' | xargs -L 1 gofmt -w