工具介绍
一个具有主张的 GoLang 框架,用于加速微服务开发。内置对数据库和可观测性的支持。
1. **简单的 API 语法**
2. **默认支持 REST 标准**
3. **配置管理**
4. **[可观察性](https://gofr.dev/docs/quick-start/observability) (日志、跟踪、指标)**
5. **内置 [身份验证中间件](https://gofr.dev/docs/advanced-guide/authentication) 和自定义中间件支持**
6. **[gRPC 支持](https://gofr.dev/docs/advanced-guide/grpc)**
7. **[HTTP 服务](https://gofr.dev/docs/advanced-guide/http-communication)** 支持断路器
8. **[Pub/Sub](https://gofr.dev/docs/advanced-guide/using-publisher-subscriber)**
9. **[健康检查](https://gofr.dev/docs/advanced-guide/monitoring-service-health)** 适用于所有数据源
10. **[数据库迁移](https://gofr.dev/docs/advanced-guide/handling-data-migrations)**
11. **[Cron 任务](https://gofr.dev/docs/advanced-guide/using-cron)**
12. **支持在不重启的情况下 [更改日志级别](https://gofr.dev/docs/advanced-guide/remote-log-level-change)**
13. **[Swagger 渲染](https://gofr.dev/docs/advanced-guide/swagger-documentation)**
14. **[抽象文件系统](https://gofr.dev/docs/advanced-guide/handling-file)**
15. **[Websockets](https://gofr.dev/docs/advanced-guide/websocket)**
---
## **开始使用**
### **前提条件**
- GoFr 需要 **[Go](https://go.dev/)** 版本 **[1.24](https://go.dev/doc/devel/release#go1.24.0)** 或更高版本。