1. 程式人生 > >流行的Go語言web框架簡介

流行的Go語言web框架簡介

    Golang被稱為雲端計算時代的C語言,它以其獨特的優勢逐漸被越來越多的公司所關注和使用。為了充分利用Golang的Web開發優勢,有必要熟悉一下Go語言的web框架。
    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.
     Goji是一個輕量型的web框架,具有簡約性和靈活性的多路路由請求特性,正如它所標榜自己的那樣。 歡迎關注我的微信公眾號