M
M
MOTORIST2015-01-15 19:37:47
go
MOTORIST, 2015-01-15 19:37:47

Has anyone used the Gin Golang web framework? is there an advantage? Or should we look the other way?

I want to try go for web projects. Further, if a normal GUI appears for it, then use it for (désktɒp).
But the main purpose of web. There are a lot of frameworks out there already. Interested in promising (well supported), fast, convenient, AR. While I look towards GIN, they praise themselves a lot about performance. Framework is new, there is little information. anyone tried it? Impression? I would be happy to consider alternatives.
https://github.com/gin-gonic/gin

Answer the question

In order to leave comments, you need to log in

5 answer(s)
U
uvelichitel, 2015-01-15
@uvelichitel

Gin is a great framework with a well deserved reputation.
If you want a fly in the ointment, then

  • Gin uses httprouter as Muxer. It's very fast, regularly expressive and parameterizable but not compatible with http.DefaultMuxer's stdlib. That is, you won't be able to use native http.Handler().
  • The use of the framework is generally discouraged in the community (go-nuts MailingList, #go-nuts irc channel) due to the presence of a rich standard library. That is, help in the community will be reluctant to provide you. (For example, I will not understand Gin to advise something)

S
Sergey Lerg, 2015-01-15
@Lerg

Looks good, feel free to try it. If that change is always not a problem.

S
SilentFl, 2015-01-16
@SilentFl

Of the alternatives, there is https://github.com/go-martini/martini and it is also lightweight. Simple routing, modularity, middleware available, compatible with http.HandleFunc. I liked.
There is also
beego.me
revel.github.io
https://github.com/pilu/traffic
but had no dealings with them

A
Alex, 2015-01-22
@alehano

I recommend using Goji. I have a positive experience. As the speaker above said, Gin is not compatible with the standard http.Handler. Goji is compatible, while it has very fast routing, context support and a couple of other goodies like hot reloading. At the same time, this is not a framework, but only the basis on which you can weight other libraries.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question