Go hooks for pre-commit
Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.pre-commit-config.yaml
.pre-commit-hooks.yaml
README.md
fmt.sh
hooks.yaml
vet.sh

README.md

Go hooks for pre-commit

Go tools package for pre-commit.

Using go tools with pre-commit

-   repo: git://github.com/doublify/pre-commit-go
    sha: master
    hooks:
    -   id: fmt
    -   id: vet
    -   id: fix