When comparing Martini vs Go-rest, the Slant community recommends Martini for most people. In the question“What are the best web frameworks for Go?” Martini is ranked 8th while Go-rest is ranked 14th. 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 Easy to learn
The API is a small as it gets with only 3 methods HandleGET
, HandlePOST
and RunServer
. Making it rather easy to learn just for that fact.
Cons
Con No longer maintained
Martini is no longer being actively maintained.
Con Not very active
Latest commit was September 2015. Plus, there doesn't seem like there's much of a community surrounding it. Which results in fewer resources (guides or libraries) and a higher risk of Go-rest being abandoned one day.