English | 中文
A production-ready Go/Golang microservice scaffold framework for rapid development, letting developers focus on business logic.
Official Documentation: bingoctl.dev
- Getting Started - Get up and running in 10 minutes
- What is Bingo - Learn about core features
- Architecture - Microservice architecture design
- Using Bingo CLI - CLI tool guide
- 中文文档 - Chinese documentation
Bingo is a production-ready Go/Golang microservice scaffold framework that provides:
- Clean architecture design (Controller → Biz → Store three-layer architecture)
- Pre-integrated core components (Gin, GORM, Redis, Asynq, Casbin)
- Engineering capabilities (code generation, hot reload, Docker support)
- Production-grade features (logging, monitoring, tracing)
- Best practices and comprehensive documentation
Use Cases: Backend systems, microservice projects, RESTful APIs, gRPC services
Related Project: Bingo CLI - Bingo project scaffold tool
- Microservice Architecture: Independent service deployment with horizontal scaling
- Layered Design: Clean Controller → Biz → Store three-layer architecture
- Generic Data Layer: Generic-based Store[T] design to reduce boilerplate
- Dependency Injection: Interface-based programming for easy testing and extension
- Service Discovery: Support for gRPC inter-service communication
- Web Framework: Gin - High-performance HTTP framework
- ORM: GORM - Multi-database support
- Cache: Redis - Distributed caching
- Task Queue: Asynq - Reliable async task processing
- Access Control: Casbin - Flexible RBAC permission engine
- Logging: Zap - Structured high-performance logging
- API Docs: Swagger - Auto-generated API documentation
- Hot Reload: Air support for development hot reload
- Code Generation: Auto-generate CRUD code and API docs
- Docker Support: One-click containerized deployment
- Monitoring: Prometheus + pprof performance monitoring
- Go: 1.23.1+
- Web Framework: Gin v1.10.0
- ORM: GORM v1.25.10
- Database: MySQL 5.7+ / PostgreSQL
- Cache: Redis 6.0+
- gRPC: google.golang.org/grpc v1.64.0
- Task Queue: Asynq v0.24.1
# Install Bingo CLI
go install github.com/bingo-project/bingoctl/cmd/bingo@latest
# Create new project
bingo create github.com/myorg/myapp
# Enter project directory
cd myapp
# Build and run
make build && ./_output/<os>/<arch>/myapp-apiserverFor detailed setup instructions, see Getting Started.
Issues and Pull Requests are welcome!
- Fork this repository
- Create feature branch:
git checkout -b feature/amazing-feature - Commit changes:
git commit -m 'feat: add amazing feature' - Push branch:
git push origin feature/amazing-feature - Submit Pull Request
PRs must pass:
- Code linting (golangci-lint)
- Unit tests
- Review by at least one Maintainer
This project is licensed under the Apache License 2.0.
For questions or suggestions:
- Submit an Issue
- Email project maintainers
Start using Bingo - Focus on your business logic, let the scaffold handle the rest!