Initial commit

This commit is contained in:
Laurence Withers 2020-02-16 09:46:26 +00:00
commit fcb78985c9
1 changed files with 9 additions and 0 deletions

9
README.md Normal file
View File

@ -0,0 +1,9 @@
# 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