curl -sL https://git.io/J1K67 | bash
What this will do?
- Run the file
setup.sh
from this gist, that performs the following tasks:- Download the file
lefthook.yml
from this gist - Download the file
prepare.sh
from this gist - Add executable permissions to
prepare.sh
- Run the script
prepare.sh
. It does the following:- Installs the program
gofumpt
- Installs the program
lefthook
- Execute
lefthook install
for configuring the git hooks
- Installs the program
- Download the file
Git hooks manager
More at https://github.com/evilmartians/lefthook
Go formatter