News for hackers. Stuff that matters.
Re:Replacing Ruby on Rails: Let's Go by navd on Thursday April 23, 2015 @12:39PM (#9427950)
> I just don't see a monolithic web framework being high up on the list of "must haves".

And I think that's what makes Go so welcome to many people. In fact, I'm tired of frameworks that do everything for me because they tend to do everything just "well enough".

And I noticed the OP is using Martini - which isn't necessarily bad - but it's not needed. It does make learning a language like Go a lot easier for newcomers though... I do think this sheds some wrong light on how people should be using Go. Martini isn't the answer, you should be using interfaces to make your code easier to work with, especially since they are implemented in Go so well.

Re:Replacing Ruby on Rails: Let's Go by xasos on Thursday April 23, 2015 @01:44PM (#9428423)
In fact, Go's standard library is fantastic, so you don't need Martini for many things. I think it provides a nice layer on top of the code for comprehensibility when reading through code
Re:Replacing Ruby on Rails: Let's Go by merb on Thursday April 23, 2015 @03:29PM (#9429218)
Better use gin or negroni, since martini is slow due to reflections
Re:Replacing Ruby on Rails: Let's Go by socceroos on Thursday April 23, 2015 @11:12PM (#9431228)
I've been using negroni. Its by the maker of Martini after he learned about 'idiomatic Go'. Very solid framework that does what it needs to and does it quickly.
Re:Replacing Ruby on Rails: Let's Go by alexrbarlow on Thursday April 23, 2015 @12:51PM (#9428047)
I totally agree and yeah, I used Martini to make it a little easier to read
Re:Replacing Ruby on Rails: Let's Go by navd on Thursday April 23, 2015 @01:12PM (#9428209)
Understood, the community really needs more idiomatic examples for building web apps. Someone should take this up.