A GitHub template repository for bootstrapping a new Go project with a clean, idiomatic layout.
- ✅ Linter config (
golangci-lint
) - ✅ GitHub actions
- ✅ Basic Makefile
- ✅ MIT License
Click the Use this template button to generate a new repository based on this template.
After creating your repo, follow these steps:
# Clone your new project
git clone https://github.com/your-username/your-project-name
cd your-project-name
# Update module path
go mod edit -module github.com/your-username/your-project-name
# Tidy up dependencies
go mod tidy
Edit the README.md, package names, and other placeholders as needed.
make run