summaryrefslogtreecommitdiffstats
path: root/check_gofmt.sh
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2024-01-30 11:43:20 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2024-01-30 20:12:19 +0100
commit5b7cb258ec26d7de690099f5dc39935b8d728155 (patch)
tree53544c8ab46e3fffda4a1e33c5d6e705183e2652 /check_gofmt.sh
parent80595bbe3e7901ecd6200e59d43af142c3c85b6b (diff)
Create default link and image render hooks
Fixes #11933
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