Laurence Withers 82870d7bb8 | ||
---|---|---|
.gitignore | ||
README.md | ||
blacklist.go | ||
check_gofmt.go | ||
check_govet.go | ||
check_largefiles.go | ||
git_stash.go | ||
go.mod | ||
go.sum | ||
has_go.go | ||
main.go | ||
output.go |
README.md
Git pre-commit hook
This commit hook only runs if it detects a Go source repository (by testing for
the presence of a go.mod
within the first 3 levels of directory).
Tests:
- runs
go vet
on each module - runs
goimports
on all source (excluding generating protobuf.pb.go
files) - checks for large (>1MiB) files