Files
gf/vet.sh
2019-06-25 16:03:14 +08:00

8 lines
144 B
Bash

#!/bin/bash
cd "${GOPATH}/src/github.com/pibigstar/go-todo"
find . -name "*.go" -not -path "./third/*" | xargs gofmt -w
git diff --exit-code