| What it is | Express inspired web framework written in Go | The fastest full-featured HTTP web framework for Go | Modular Go application framework: HTTP server, ORM, config, logging, caching and microservice governance, with a gf CLI | A cloud-native Go microservices framework with a code generation CLI |
| Features | - Express-style routing and middleware
- built on Fasthttp
- static files and template engines
- WebSocket, Socket.io and Server-Sent Events
- rate limiter
- accepts net/http handlers
| - radix tree routing with no reflection
- middleware chains
- panic recovery
- JSON binding and validation
- nestable route groups
- error collection for middleware
- JSON, XML and HTML rendering
- custom middleware
| - HTTP server with routing and middleware
- Driver-agnostic ORM with transactions, soft delete and sharding
- Redis client
- Config, logging, caching, sessions, templates, cron and timers
- Microservice governance abstractions with contrib implementations
- gf CLI to scaffold and run projects
- Use the whole framework or single packages
| - adaptive circuit breaker, load shedding, rate limiting and timeout control built in
- goctl code generation for API and RPC services from .api files
- client code generation for iOS, Android, Kotlin, Dart, TypeScript and JavaScript
- automatic request parameter validation
- built-in middleware usable in other frameworks
|