This is a template repository for go projects.
Execute the following commands to install git hooks:
ln -s ../../githooks/pre-commit .git/hooks/: Run checks and tests before committing.ln -s ../../githooks/commit-msg .git/hooks/: Check whether the commit message conforms to conventional commits.
The pre-commit hook requires the following tools to be installed:
- mockgen: Generate mock files.
- wire: Generate dependency injection files.
- golangci-lint: Linters.