A (partial) port of the Corset tool into Go.
Step 0. Install pre-commit:
pip install pre-commit
# For macOS users.
brew install pre-commit
Then run pre-commit install
to setup git hook scripts.
Used hooks can be found here.
NOTE
pre-commit
aids in running checks (end of file fixing, markdown linting, go linting, runs go tests, json validation, etc.) before you perform your git commits.
Step 1. Install external tooling (golangci-lint etc.):
make install
Step 2. Setup project for local testing (code lint, runs tests, builds all needed binaries):
make all
NOTE
All binaries can be found in
<project_root>/bin
directory. Usemake clean
to delete old binaries.Check Makefile for other useful commands.