流行的Go语言web框架简介

 

Golang被称为云计算时代的C语言,它以其独特的优点逐渐被愈来愈多的公司所关注和使用。为了充分利用Golang的Web开发优点,有必要熟悉一下Go语言的web框架。git

 

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

 

 

 

    Beego是一个彻底的MVC框架,你可使用你的Go语言专业技术构建你的web应用程序。Beego框架下,你能够web

自动化地实现测试、打包和部署。正以下面所说的同样。app

 

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]less

 

2 Revel(http://revel.github.io/dom

 

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

 

3 Martini (http://martini.codegangsta.io)性能

 

 

 

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

 

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

 

 

 

4 Traffic(https://github.com/pilu/traffic

 

    

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

 

 

5 Gin(https://gin-gonic.github.io/gin/)

 

      Gin相似于Martini,可是具有更好的性能。若是你喜欢高性能和高产出,你会喜欢上Gin.

 

6  Goji(https://goji.io/

 

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

相关文章
相关标签/搜索