The Ultimate Microservices Scaffolding Tool for Go
go-microx is a high-performance CLI tool built to eliminate the complexity of bootstrapping microservices architectures in Go. Scaffold industry-ready project structures in minutes—not hours.
Core Features • Installation • Usage • Project Templates • Future Roadmap
Building microservices from scratch is repetitive and error-prone. go-microx provides a standardized, battle-tested foundation so you can focus on writing business logic instead of boilerplate. Whether you're building a massive e-commerce platform or a high-throughput streaming service, we've got the scaffolding ready.
| Feature | Description |
|---|---|
| Interactive CLI | Seamless experience using PromptUI for project configuration. |
| Industry Templates | Ready-to-use scaffolding for E-commerce, Streaming, and more. |
| Pluggable Stack | Choose your favorite Router (Gin, Fiber, Chi) and Database (Postgres, Mongo, MySQL). |
| Authentication Options | Built-in support for JWT, OAuth, and API Keys. |
| Cloud Ready | Pre-configured Docker and containerization out of the box. |
| gRPC Support | Built-in scaffolding for high-performance RPC communication. |
Install the go-microx binary directly to your $GOPATH/bin:
go install github.com/topworklytechnologies/go-microx/cmd/go-microx@latestStart the interactive wizard and follow the prompts to build your service.
go-microx newThe CLI handles the heavy lifting, prompting you for:
- Template Selection: Industry-specific architecture patterns.
- Project Naming: Your unique service identifier.
- HTTP Router: Gin, Fiber, Chi, Echo, or Standard Mux.
- Database: PostgreSQL, MongoDB, MySQL, SQLite, or None.
- Authentication: Secure your services from the start.
Comprehensive setup for online marketplaces.
- User Management
- Product Catalog & Inventory
- Order Processing & Payments
- Shopping Cart Service
- API Gateway integration
Built for high-traffic media delivery.
- Transcoding Service
- Content Delivery Logic
- Subscription & Analytics
- Auth & Media Uploads
On-demand logistics architecture.
- Restaurant Management
- Order Tracking System
- Delivery Driver Assignment
- Real-time Payment Status
Example structure generated for an E-commerce project:
myshop/
├── user-service/ # Auth & Profile management
├── product-service/ # Inventory & Catalog
├── order-service/ # Logic for transactions
├── payment-service/ # Gateway integrations
├── api-gateway/ # Unified entry point
├── configs/ # Shared configurations
└── Dockerfile # Multi-stage build setup
- Service Mesh: Native Istio & Linkerd integration.
- Observability: OpenTelemetry, Prometheus, & Grafana dashboarding.
- Event-Driven: Built-in Kafka, NATS, and RabbitMQ scaffolding.
- Biometrics: WebAuthn support for passwordless auth.
- K8s: Helm Chart generation and Kustomize support.
- Cloud: One-click deployment configs for AWS, GCP, and Azure.
We love community contributions! Check out our Contributing Guidelines to get started.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.