Build Go Apps
Ridiculously Fast
Full-featured Go web framework with 67 features. DI container, ORM, auth, queues, scheduler, GraphQL, WebSocket, plugins, notifications, Prometheus, and more. Built on Gin + GORM + Cobra.
Everything You Need. Nothing You Don't.
67 features across 7 phases. From HTTP routing to GraphQL, from auth to queue workers and notifications, all tested and versioned together.
Full MVC
Controllers, services, views, helpers. Resource controllers with RESTful routing. Clean architecture out of the box.
Multi Auth Stack
JWT, OAuth2 (Google/GitHub/Facebook), TOTP 2FA with backup codes, sessions (5 backends), CSRF, rate limiting.
Database & ORM
GORM with migrations, seeders, soft deletes, transactions, read/write splitting. PostgreSQL, MySQL, SQLite.
Queue & Scheduler
Background job processing with 4 drivers (database, Redis, memory, sync). Cron-based task scheduling with overlap prevention.
DI Container
Service container with provider pattern. Register/Boot lifecycle, dependency resolution, and service bindings.
GraphQL & WebSocket
Built-in GraphQL server with GraphiQL playground. WebSocket support with rooms and channels for real-time apps.
Observability
Prometheus metrics, health checks (liveness + readiness), structured JSON logging, request ID tracking, audit logging.
CLI Scaffolding
Generate controllers, models, services, providers, migrations with one command. Serve, migrate, seed, schedule, work.
Not Another HTTP Router
Gin, Echo, and Fiber are HTTP routers. RapidGo is a full application framework built on top of Gin.
| Feature | Gin | Echo | Fiber | RapidGo |
|---|---|---|---|---|
| HTTP Router | ✓ | ✓ | ✓ | ✓ |
| DI Container | — | — | — | ✓ |
| ORM + Migrations | — | — | — | ✓ |
| JWT + Session Auth | — | — | — | ✓ |
| OAuth2 + TOTP 2FA | — | — | — | ✓ |
| Queue Workers | — | — | — | ✓ |
| Task Scheduler | — | — | — | ✓ |
| Event System | — | — | — | ✓ |
| Plugin System | — | — | — | ✓ |
| GraphQL | — | — | — | ✓ |
| WebSocket Rooms | — | — | — | ✓ |
| Cache (3 backends) | — | — | — | ✓ |
| Mail (SMTP) | — | — | — | ✓ |
| File Storage (S3) | — | — | — | ✓ |
| Prometheus Metrics | — | — | — | ✓ |
| CLI Scaffolding | — | — | — | ✓ |
| i18n | — | — | — | ✓ |
| Audit Logging | — | — | — | ✓ |
| Notification System | — | — | — | ✓ |
| Cursor Pagination | — | — | — | ✓ |
Clean, expressive code
Write Go web applications that are a pleasure to read and maintain.
// Wire your app to the framework with hooks
func main() {
cli.SetBootstrap(func(a *app.App, mode service.Mode) {
a.Register(&providers.ConfigProvider{})
a.Register(&providers.DatabaseProvider{})
a.Register(&providers.RouterProvider{Mode: mode})
})
cli.SetRoutes(func(r *router.Router, c *container.Container, mode service.Mode) {
r.Get("/", web.Home)
api := r.Group("/api")
api.Use(middleware.Auth())
api.Get("/users", controllers.ListUsers)
})
cli.Execute()
}
What is RapidGo?
RapidGo is a batteries-included Go web framework that provides a productive developer experience with Go performance. It ships with 67 features across 7 phases, including the latest v2.8.0 release.
Core: dependency injection container, service providers, configuration system, structured logging, error handling middleware, Cobra CLI foundation.
HTTP: Gin-based router with route groups, resource routes, named routes, and route model binding. MVC controllers with ResourceController interface. Middleware pipeline with registry, aliases, and groups. Input validation. API response helpers. Views and templates with layouts and partials. WebSocket support with rooms and channels. Static file serving.
Data: GORM ORM with PostgreSQL, MySQL, and SQLite support. Database migrations with up/down. Seeders with interface-based registry. Transaction patterns (auto, manual, nested). Pagination helper. Database read/write splitting. Soft deletes.
Security: JWT authentication (stateless). Session-based authentication with 5 backends (database, Redis, file, memory, cookie). OAuth2 social login (Google, GitHub, Facebook). TOTP two-factor authentication with bcrypt-hashed backup codes. CSRF protection (double-submit cookie). CORS. Rate limiting (token bucket). AES-256-GCM encryption, bcrypt hashing, HMAC-SHA256, secure random tokens. Audit logging.
Infrastructure: queue workers with 4 drivers (database, Redis, memory, sync). Task scheduler via cron. Publish-subscribe event system. Plugin and module system. Caching with 3 backends (Redis, memory, file). Email via SMTP. File storage (local + S3). i18n localization. Notification system with database and email channels via Notifiable interface.
Advanced: GraphQL support with GraphiQL playground. API versioning. Prometheus metrics. Admin panel scaffolding. Multi-port service mode. Cursor-based pagination for infinite scroll alongside offset-based pagination.
CLI: make:controller, make:model, make:service, make:provider, make:migration. db:seed with --seeder flag. migrate, migrate:rollback, migrate:status. serve with --mode flag. schedule:run. work (queue worker).
Deployment: Docker multi-stage builds. Caddy web server integration. Health checks (liveness + readiness). Graceful shutdown.
Built on Go 1.25+, Gin v1.12, GORM v1.31, Cobra v1.10. MIT licensed. Created by RAi Works.
Get started in seconds
Install
rapidgo new myapp
Configure
cp .env.example .env
Run
go run cmd/main.go serve