Go Init is an open-source CLI tool that accelerates Go project setup by generating a structured project layout with essential tooling and sensible defaults.
It removes repetitive boilerplate so you can focus on writing actual business logic.
- Ready-to-use configuration and defaults
- Fast project scaffolding
- Minimal setup, zero friction
- Designed for small project/MVP Go applications
gini buildThis will create a new directory with the predefined structure and configuration.
go install github.com/rafaeldepontes/goinit/cmd/gini@latestThis installs a go binary that will automatically bind to your $GOPATH, so don't worry much...
Make sure $GOPATH/bin is in your $PATH.
- Go 1.25.5 or newer
Setting up Go projects repeatedly is tedious and setting up the dockerfile and docker-compose is kinda lame... Go Init provides a consistent starting point, helping you:
- Reduce setup time
- Maintain project structure consistency
- Create your Dockerfile and docker-compose with everything you need.
- Custom templates
- Docker
- Configurable project layouts
Contributions are welcome.
Feel free to open issues or submit pull requests.
If something went wrong, please contact: rafael.cr.carneiro@gmail.com
