☰
Debian Codegraph
@
0.3.18-1
0.3.11-1
/
/
.githooks
/
pre-commit
☽
☼
.githooks/pre-commit
code
plain
raw
symbols
SCIP
Apache-2.0
2026 Brian Cosgrove <
[email protected]
>
debian/copyright
1
#!
/usr/bin/env
bash
2
# Fail on unformatted Go files
3
unformatted
=$(
gofmt
-l . 2>
/dev/null
)
4
if
[
-n "$
unformatted
" ]; then
5
echo
"gofmt: these files are not formatted:"
6
echo
"$
unformatted
"
7
exit 1
8
fi