blob: 3aa9374e8922683cc1aa3bb5777cd1fe3b16c221 [file] [log] [blame]
Colin Cross5b0231b2016-08-11 10:12:46 -07001#!/bin/bash
2
3if [ -n "$(gofmt -l .)" ]; then
4 echo "Go code is not formatted:"
5 gofmt -d .
6 exit 1
7fi