Gitiles
Code Review
Sign In
gerrit.opencord.org
/
voltha-openonu-adapter-go
/
2d33743f9cb3651a51fa6a8d9a7c03ebab0b5cb3
/
.
/
vendor
/
github.com
/
google
/
gopacket
/
.travis.gofmt.sh
blob: e341a1cb78f9106c94c60699d5c04e603d5506ec [
file
] [
log
] [
blame
]
#!/bin/bash
cd
"$(dirname $0)"
if
[
-
n
"$(go fmt ./...)"
];
then
echo
"Go code is not formatted, run 'go fmt github.com/google/stenographer/...'"
>&
2
exit
1
fi