以下整理一些不錯的golang web 框架
- gofiber/fiber
類似nodejs exprss 的web框架 - gin-gonic/gin
類似 Martini 的web 框架,但是性能更好 - go-martini/martini
上邊說到的Martini - labstack/echo
- astaxie/beego
比較完備的web 框架 - gobuffalo/buffalo
快速web開發框架 - gorilla/mux
主要是httphandler的提供,但是很強大 - emicklei/go-restful
go rest-ful api 開發 - revel/revel
全棧的web開發框架
說明
golang的web開發框架很多,而且生態很不錯,類似的http路由以及handler框架就有好多,好多是否可以解決自己的需求進行選擇
參考資料
https://github.com/gofiber/fiber
https://github.com/gin-gonic/gin
https://github.com/go-martini/martini
https://github.com/labstack/echo
https://github.com/astaxie/beego
https://github.com/gobuffalo/buffalo
https://github.com/gorilla/mux
https://github.com/emicklei/go-restful
https://github.com/revel/revel