aboutsummaryrefslogtreecommitdiffhomepage
path: root/check_gofmt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'check_gofmt.sh')
-rwxr-xr-xcheck_gofmt.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/check_gofmt.sh b/check_gofmt.sh
new file mode 100755
index 000000000..c77517d3f
--- /dev/null
+++ b/check_gofmt.sh
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+diff <(gofmt -d .) <(printf '') \ No newline at end of file