5 ms·
i've been partial to Go for the past few years. My toolkit is mainly comprised of martini for the web framework, gorm for the database handling (also includes
by dougbarrett 11y ago
i've been partial to Go for the past few years. My toolkit is mainly comprised of martini for the web framework, gorm for the database handling (also includes auto migrations which is awesome!) and heroku for hosting (they have native Go support now) or even dokku on your own VPS
The software I write is primarily used in advertising, and Go allows me to write the software quickly and is able to handle a large load as you can see here: http://imgur.com/zpkjwlh http://imgur.com/zpkjwlh
There is some overhead with Martini and Gorm, but the ease and speed of development more than make up for the performance loss
- zphds 11y agoYou might also want to take a look at Negroni since it's supposed to be more idiomatic. There's a blog post about this by the author himself. http://codegangsta.io/blog/2014/05/19/my-thoughts-on-martini/ http://codegangsta.io/blog/2014/05/19/my-thoughts-on-martini...
- dougbarrett 11y agoI've used it with mux, and have detailed my experience here: https://www.dougcodes.com/go-lang/martini-to-gin-back-to-martini-and-on-to-negroni-and-mux https://www.dougcodes.com/go-lang/martini-to-gin-back-to-mar... Negroni and Mux are great to use, and typically I will go back and refactor the code to squeeze out any extra performance if it's needed and the project has proven its worth, but Martini has middleware that is hard to beat and easy to set up to get proof of concepts out the door.