12# CI for src.rest: the checks CONTRIBUTING.md asks for before a pull request,3# gofmt, go test, go test -race and go vet, all offline.4set -eu5unformatted=$(gofmt -l .)6if [ -n "$unformatted" ]; then7 echo "gofmt needed:" >&28 echo "$unformatted" >&29 exit 110fi11go test ./...12go test -race ./...13go vet ./...