goa vs Micro: What are the differences?
Developers describe goa as "A design driven approach for building microservices in Go". goa is a framework for building microservices in Go using a unique design-first approach. goa provides a novel approach for developing microservices that saves time when working on independent services and helps with keeping the overall system consistent. On the other hand, Micro is detailed as "A microservice toolkit". Micro provides the core requirements for building and managing microservices. It consists of a set of libraries and tools which are primarily geared towards development in the programming language Go, however looks to solve for other languages via HTTP using a Sidecar.
goa and Micro can be categorized as "Microservices" tools.
Some of the features offered by goa are:
- Creating a service with goa starts with the design. The goa DSL lets you describe the global properties, types and endpoints that make up the service API. The apidsl package docs provides a quick reference to all the DSL functions.
- Once the design of the API is in place goagen generates the corresponding data structures, validation code and handlers. Handlers are defined as interface methods. Implementing the service is thus as simple as implementing the generated interfaces.
- The best part about the goa DSL is that the engine is completely decoupled. Plugins can implement custom DSLs to extend the concepts described in the design. Plugins can also generate arbitrary outputs.
On the other hand, Micro provides the following key features:
- Web UI
goa and Micro are both open source tools. It seems that Micro with 6.45K GitHub stars and 528 forks on GitHub has more adoption than goa with 3.46K GitHub stars and 389 GitHub forks.