OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new repo
[bytom/vapor.git]
/
vendor
/
github.com
/
stretchr
/
testify
/
.travis.gofmt.sh
1
#!/bin/bash
2
3
if [ -n "$(gofmt -l .)" ]; then
4
echo "Go code is not formatted:"
5
gofmt -d .
6
exit 1
7
fi