Gitiles
Code Review
Sign In
gerrit.opencord.org
/
voltha-openonu-adapter-go
/
fbf577da3bee2d4cf01ab9ed1715369b85f6241c
/
.
/
vendor
/
github.com
/
google
/
gopacket
/
.travis.gofmt.sh
blob: e341a1cb78f9106c94c60699d5c04e603d5506ec [
file
] [
log
] [
blame
]
Holger Hildebrandt
fa07499
2020-03-27 15:42:06 +0000
[
diff
] [
blame
]
1
#!/bin/bash
2
3
cd
"$(dirname $0)"
4
if
[
-
n
"$(go fmt ./...)"
];
then
5
echo
"Go code is not formatted, run 'go fmt github.com/google/stenographer/...'"
>&
2
6
exit
1
7
fi