流行的Go语言web框架简介

版权声明:本文为博主John Lau原创文章,未经博主允许不得转载 https://blog.csdn.net/GreatElite/article/details/50763748
    Golang被称为云计算时代的C语言,它以其独特的优势逐渐被越来越多的公司所关注和使用。为了充分利用Golang的Web开发优势,有必要熟悉一下Go语言的web框架。

1  Beego (http://beego.me/) 




    Beego是一个完全的MVC框架,你可以使用你的Go语言专业技术构建你的web应用程序。Beego框架下,你可以
自动化地实现测试、打包和部署。正如下面所说的一样。

The goal of beego is to help you build and develop Go applications effectively in the Go way. Beego integrates features belonging to Go and great mechanisms from other frameworks; in other words, it’s not a translated framework, it’s native and designed only for Go.

Beego also uses a modular design and thus gives you the freedom of choosing which modules you want to use in your applications and leave alone useless ones for you. [GA]




       Revel能让Go语言的web开发如虎添翼,大大提高你的开发效率。





     Martini是一个受到Sinatra (一个Ruby 框架)启发而开发的Go语言web框架。使用Martini,你可以快速写你的模块化应用或者服务。

【Note:中国地区无法访问此网页 】



    
Traffic 同样也是受Sinatra的regexp/pattern 互斥思想启发下开发的web框架。它是一个小框架,并且是轻量型的。因此,它具有很好的灵活性,扩展性。




      Gin类似于Martini,但是具备更好的性能。如果你喜欢高性能和高产出,你会喜欢上Gin.

6  Goji(https://goji.io/


     Goji是一个轻量型的web框架,具有简约性和灵活性的多路路由请求特性,正如它所标榜自己的那样。


欢迎关注我的微信公众号


猜你喜欢

转载自blog.csdn.net/GreatElite/article/details/50763748