TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Which Go web framework should i use in 2016?

3 pointsby Mootyover 8 years ago
Hi HN !<p>I am currently searching for an alternative to PHP with Go but I cannot find any advice on which go framework could be as great as Symfony or Laravel. Can anyone help me find the next big thing ?<p>Matt Loye

5 comments

tmalyover 8 years ago
Matt, there a tons of frameworks at different levels.<p>There are ones like Beego (<a href="https:&#x2F;&#x2F;beego.me&#x2F;docs&#x2F;intro&#x2F;" rel="nofollow">https:&#x2F;&#x2F;beego.me&#x2F;docs&#x2F;intro&#x2F;</a>) that others have mentioned that have all the batteries included.<p>Others like Gin (<a href="https:&#x2F;&#x2F;github.com&#x2F;gin-gonic&#x2F;gin" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;gin-gonic&#x2F;gin</a>) that have a lot built in and offer an stable API and good performance.<p>Gorilla (<a href="http:&#x2F;&#x2F;www.gorillatoolkit.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.gorillatoolkit.org&#x2F;</a>) offers pieces you tie together but are at a lower level of abstraction.<p>If you use the standard library, you have to build a little bit more, but you do not have to deal with dependencies or changes in 3rd party APIs.
dsparkmanover 8 years ago
Another one that has gotten quite mature in the Go space is Beego: <a href="https:&#x2F;&#x2F;beego.me&#x2F;" rel="nofollow">https:&#x2F;&#x2F;beego.me&#x2F;</a><p>There is even a fairly good book on using Beego to develop web apps with Go. <a href="https:&#x2F;&#x2F;astaxie.gitbooks.io&#x2F;build-web-application-with-golang&#x2F;content&#x2F;" rel="nofollow">https:&#x2F;&#x2F;astaxie.gitbooks.io&#x2F;build-web-application-with-golan...</a>
puransover 8 years ago
First question I would ask is do you really need a web framework? With Go, the way language is built or designed - you don&#x27;t need crazy frameworks. Having said that I do use gorilla package a lot to re-use some of the common middlewares and packages which wouldn&#x27;t make sense to re-write. But, for API endpoints and all that I am directly using Go.
评论 #12799709 未加载
alecthomasover 8 years ago
I don&#x27;t know whether those are high level frameworks, but if they are, a Go equivalent is probably Revel [1]<p>1. <a href="https:&#x2F;&#x2F;revel.github.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;revel.github.io&#x2F;</a>
kasey_junkover 8 years ago
If you are looking for a &quot;framework&quot; in the php&#x2F;rails mode go is likely not a great fit.<p>The best I can point to would be Gorilla.