When comparing Martini vs Iris, the Slant community recommends Martini for most people. In the question“What are the best web frameworks for Go?” Martini is ranked 8th while Iris is ranked 13th. The most important reason people chose Martini is:
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.
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 No need to find and install external libraries
Iris 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 Efficiency
Efficiency by using a light engine.
Pro Development
Pro API
If you're familiar with expressjs or other modern web frameworks, Iris will make you feel at home.
Pro More than feature complete
Pro More than 250 examples
More than 250 examples for implementing web application.
Pro Low amount of bugs
Most issues are questions, few bug reports and if a bug is found it's quickly patched.
Pro Good for big projects
Iris is a good framework for big projects and the author helps solving problems.
Cons
Con No longer maintained
Martini is no longer being actively maintained.
Con Previously experience with net/http
Previously experience with the Go's standard net/http package is necessary for you to move forward with Iris.