When comparing Goji vs Go relax, the Slant community recommends Goji for most people. In the question“What are the best web frameworks for Go?” Goji is ranked 10th while Go relax is ranked 18th. The most important reason people chose Goji is:
Goji is an abstraction layer over the standard Go library (which has support for HTTP) and added Einhorn support. There's probably very little you can do with Goji that you can't do with the standard library and a bit of elbow grease. This makes Goji an extremely lightweight and fast framework.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Great performance
Goji is an abstraction layer over the standard Go library (which has support for HTTP) and added Einhorn support. There's probably very little you can do with Goji that you can't do with the standard library and a bit of elbow grease.
This makes Goji an extremely lightweight and fast framework.
Pro Socket manager integration
Goji integrates with Einhorn, which is a language agnostic socket manager. Making it possible to have websocket support in Goji.
Pro Good for building REST APIs
Go Relax is a pretty minimalistic framework. Only the most essential features and libraries are included. Making it a great framework for developing high-performance REST APIs.
Cons
Con Doesn't add a lot of functionality on top of the standard library
Most of the tasks that Goji is used for can be completed with standard library support without adding the overhead of an additional external library and without having the risk of Goji development being abandoned one day.
Con Might not be suitable for large backend applications
Go Relax is great for building a REST API for the backend if you want to develop a SPA using a frontend framework for example. But for anything that requires more features on the server side, it would be better to use a more "batteries included" framework.