* Moving from govendor to dep. * Making the pull request template more friendly. * Fixing akward space in PR template. * goimports run on whole project using ` goimports -w $(find . -type f -name '*.go' -not -path "./vendor/*" -not -path "./gen-go/*")` source of command: https://gist.github.com/bgentry/fd1ffef7dbde01857f66
7 lines
105 B
Bash
Executable file
7 lines
105 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ -n "$(gofmt -l .)" ]; then
|
|
echo "Go code is not formatted:"
|
|
gofmt -d .
|
|
exit 1
|
|
fi
|