When comparing Martini vs Revel, the Slant community recommends Revel for most people. In the question“What are the best web frameworks for Go?” Revel is ranked 2nd while Martini is ranked 8th. The most important reason people chose Revel is:
Revel comes bundled with a code reload tool which rebuilds the project on every file change. This code reload tool is also used to run, build and deploy the Revel application that you are building.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Well documented
A lot of effort has been put into making the documentation as clear and helpful as possible. And it shows.
The documentation is thorough and complete. Every part of the framework is explained in a way that's clear and understandable.
Pro No unneccessary cruft
Martini is a very minimal framework. It only comes packed with the most essential features and libraries needed to develop a web application. If you need more features, you can install third party libraries. This way you only use what you need.
Pro Flexible routing
Martini's routing is flexible and DRY. It supports parameters, wildcards and regex.
Pro Comes bundled with a code reload tool
Revel comes bundled with a code reload tool which rebuilds the project on every file change. This code reload tool is also used to run, build and deploy the Revel application that you are building.
Pro Good examples easy to understand with simple emulated MVC behavior
Pro No need to find and install external libraries
Revel is a "batteries included" web framework, which means that a lot of features already come out of the box. This way you don't have to spend time and find third-party libraries to integrate to the framework for most of the tasks you need to complete.
Pro Easy to learn for fast development
Cons
Con No longer maintained
Martini is no longer being actively maintained.
Con Non-idiomatic code
Con Outdated
The world has moved past its MVC obsession. It's not the way the web works anymore. The good thing about go is that it's trivial to write a server applications (literally takes minutes). relying on a bloated, archaic framework is missing the point
Con Dead
Thankfully, this abomination is no longer being developed
Con No official support for mongo
Revel does not come with any support for MongoDB, you can integrate third-party libraries but they have been reported to crash under heavy load.