git-hooks-go

Git hooks manager for managing and executing Git hooks in Go projects

brewmacoslinux
Try with needOr install directly
Source

About

Git hooks manager

Commands

git-hooks

Examples

Initialize git-hooks in your project$ git-hooks init
Add a pre-commit hook that runs linters$ git-hooks add pre-commit 'go fmt ./...'
List all configured hooks$ git-hooks list