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.

Gongular – A new web framework for Go

45 pointsby CSDudeover 8 years ago

11 comments

zalmoxesover 8 years ago
I'm sorry, but does anyone even glance at the source of these frameworks before they're upvoted?
评论 #13109054 未加载
评论 #13109000 未加载
评论 #13109335 未加载
评论 #13109067 未加载
评论 #13109055 未加载
评论 #13109005 未加载
nemothekidover 8 years ago
This feels very similar to Martini (<a href="https:&#x2F;&#x2F;github.com&#x2F;go-martini&#x2F;martini" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;go-martini&#x2F;martini</a>).<p>Martini had a similar sort of design (and IMO a cleaner source code), but the author decided that reflection and non-idoimatic design was too much of a cost for the HTTP framework in Go. I think 2 years ago when Martini was released people were more open to reflection, but now I&#x27;m interested&#x2F;doubtful if something like this can be accepted.<p>Funnily enough, I think Gin-Gonic was inspired by Martini, but Gin-Gonic eschewed reflection in favor of performance&#x2F;idiomatic design. The fact that this project considers Gin Gonic an inspiration is funny.
nonsinceover 8 years ago
This thread is very negative, and I personally dislike runtime reflection so I wouldn&#x27;t use this framework in its current design, but don&#x27;t let the commentors get you down. I assume that you want to just show off something interesting you made, whereas they are looking for something high-enough quality to use in their next project - and a brand-new framework is never going to be that. It&#x27;s just a mismatch in aims. Keep up the good work, I can appreciate that writing the kind of dependency injection framework often seen in large systems in such a small amount of code is an admirable feat.
评论 #13113305 未加载
yumaikasover 8 years ago
Looking at this, it looks like a very minimal, reflection heavy framework. While that&#x27;s not necessarily the wrong set of choices to make, trying to turn Go into a DSL-type language always feels a little strange. Still, kudos to the authors for putting up something nifty in under 1kLoc (excluding tests).
评论 #13109169 未加载
yumaikasover 8 years ago
Godoc link for those who want to look closer at it: <a href="https:&#x2F;&#x2F;godoc.org&#x2F;github.com&#x2F;mustafaakin&#x2F;gongular" rel="nofollow">https:&#x2F;&#x2F;godoc.org&#x2F;github.com&#x2F;mustafaakin&#x2F;gongular</a>
neomover 8 years ago
Related: <a href="https:&#x2F;&#x2F;github.com&#x2F;go-martini&#x2F;martini" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;go-martini&#x2F;martini</a> (NOTE: The martini framework is no longer maintained.)
评论 #13109683 未加载
jrs95over 8 years ago
&gt;features Angular-like (or Spring like) dependency injection<p><i>closes tab</i>
camus2over 8 years ago
&gt; haha...that name is hideous<p>&gt; please.. make it stop..<p>&gt; closes tab<p>Look at this sorry thread, the usual open source project bashing going on in the Go community, pathetic, but business as usual in the Go community. The Go community is truly irredeemable and one of the most mean spirited and hateful programming community out there.
评论 #13114645 未加载
评论 #13111991 未加载
chowardover 8 years ago
How is this even remotely related to Angular?
评论 #13109658 未加载
_ttgover 8 years ago
haha...that name is hideous
评论 #13108882 未加载
评论 #13108890 未加载
评论 #13108886 未加载
评论 #13109930 未加载
UseYrIllusion11over 8 years ago
in b4 stdlib is better than this framework.
评论 #13114650 未加载