- When creating a new repository choose
atreya2011/go-repository-template
to create a new repository based on the template - Clone the repository locally
- Run
./cleanup.sh
which will findgo-repository-template
and replace it with the repository name in all the appropriate files and delete itself after completion - Delete this
How to use
section from the README and make other changes if necessary - Follow the necessary steps mentioned in the
Development
section below - Push changes to GitHub
- Install the necessary tools by executing
make install-tools
- Install pre-commit by either using homebrew or
make pre-commit-install
- If you install pre-commit using homebrew run the following after install
rm -rf .git/hooks && pre-commit install && pre-commit install --hook-type commit-msg
make build
make test