试用
GoFr是一款Go语言的微服务框架,all-in-one且开箱即用,可以显著地提升微服务开发。

主要特性如下:
- Simple API syntax
- REST Standards by default
- Configuration management
- Inbuilt Middlewares
- gRPC support
- HTTP service with support for Circuit Breaker and Health Check
对我个人来说,GoFr很多思想和Spring Boot类似,如GoFr内置了Redis和MySQL等支持,你只需要.env文件添加一下配置即可,
依赖这些你都不用设置,非常简单。 建议有Java经验的同学在选择Go语言Web框架时可以考虑GoFr。
当然如果公司的技术栈包含Java和Go语言的话,GoFr也是不二之选,而且GoFr也是CNCF项目。
GoFr & Friends
- Gin: https://gin-gonic.com/
- Beego: https://github.com/beego/beego
- Echo: https://echo.labstack.com/
- go-zero: https://go-zero.dev/
- Top Go Web Frameworks: https://github.com/mingrammer/go-web-framework-stars
References
- GoFr: https://gofr.dev/
- Why use GoFr for Golang Backend? https://blog.stackademic.com/why-use-gofr-for-golang-backend-c6489640ee91
- GoFr. Features and potential improvements review: configuration, HTTP Server/Client, Redis, PostgreSQL: https://medium.com/@kostiantynillienko/gofr-features-and-potential-improvements-review-configuration-http-server-client-redis-e4da36819b22