blob: 3aa9374e8922683cc1aa3bb5777cd1fe3b16c221 [file] [log] [blame]
#!/bin/bash
if [ -n "$(gofmt -l .)" ]; then
echo "Go code is not formatted:"
gofmt -d .
exit 1
fi