Gin

Languages and libraries

web framework

SHOW HN2014

75points
29comments
#405of 2,272 in 2014
Top 18%of 2014 by points

How HN took it

DebatedReal support and real criticism

4 positive, 3 neutral or asking, 1 mixed, 6 critical, out of 14 comments about the project. Thread score -0.03.

Idea: 1 for, 3 againstDesign: 2 for, 1 againstPerformance: 1 for, 0 againstDocs: 0 for, 1 againstExecution: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Fast performance compared to Martini

    From 2 comments
    • Thank you for your efforts. Some people may be giving you flack for "making just another Go web framework", but I wouldn't even be looking at a Go web framework if it was using…
      jzelinskie on HN
    • I can explain that. First. Martini uses reflection, it's IMPOSSIBLE to make it as fast as Gin without removing all the reflection. Obviously it would break all the API, it would…
      manucorporat on HN
  • Nice routing groups design

    From 1 comment
    • How does it compare to Negroni + httprouter? I see Gin uses httprouter and I guess it is the main difference. Anyway, Gin looks nice too. I like how the routing groups are done.…
      im_dario on HN

Objections

  • Name clashes with codegangsta/gin live-reload tool

    From 2 comments
    • Real-time code reloading from the author of Martini: Gin - https://github.com/codegangsta/gin. Quite an unfortunate choice of name.
      Artemis2 on HN
    • Looks neat. Very I think it was a smart choice to pick an existing HTTP router. Like was mentioned above, the name was unfortunately used beforehand.…
      codegangsta on HN
  • Another Go web framework is redundant versus contributing to Martini

    From 2 comments
    • Why didn't you just contribute to Martini and fix the parts that sucked? It just feels odd to me to re-invent a web framework, utilizing the same interfaces so it's the same to…
      brianbarker on HN
    • Well, this is a tangent anyway. The main point was "why another go web framework" then he gave a better clarification. As you watch new languages spread, it's amazing how many…
      brianbarker on HN
  • Middleware tied to this framework rather than shared interfaces

    From 1 comment
    • It looks promising. However, it is making the same mistake many of the other frameworks are making in that in order to make middleware, you must take on a dependency for this…
      katokay on HN
  • Benchmark results in README are not updated

    From 1 comment
    • Looks like the actual results are not updated/included in the readme though.
      stock_toaster on HN

Requests

  • Update benchmark results

    From 1 comment
    • Looks like the actual results are not updated/included in the readme though.
      stock_toaster on HN
  • Separate route grouping as independent library

    From 1 comment
    • I don't think Negroni and Gin will mix well</pun> I implemented almost the same features as Negroni's middlewares [0] in my project (a backend for grassroots referendums). I was…
      im_dario on HN

Questions

  • How does it compare to Negroni with httprouter?

    From 2 comments
    • How does it compare to Negroni + httprouter? I see Gin uses httprouter and I guess it is the main difference. Anyway, Gin looks nice too. I like how the routing groups are done.…
      im_dario on HN
    • Of course you could use Negroni with Gin. Anyway, Gin is a full-featured framework on top of httpRouter, I will explain this later (eventually I would like to merge both in the…
      manucorporat on HN

Alternatives named

  • Martini

    From 1 comment
    • Why didn't you just contribute to Martini and fix the parts that sucked? It just feels odd to me to re-invent a web framework, utilizing the same interfaces so it's the same to…
      brianbarker on HN
  • Negroni

    From 1 comment
    • How does it compare to Negroni + httprouter? I see Gin uses httprouter and I guess it is the main difference. Anyway, Gin looks nice too. I like how the routing groups are done.…
      im_dario on HN
  • Goji

    From 1 comment
    • I feel that this project is very different from Martini from the low-level point of view. While Martini uses reflection to find how to use handlers, Gin utilizes a static context…
      Artemis2 on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/7966700)