goa VS go-kit

Compare goa vs go-kit and see what are their differences.

goa

🌟 Goa: Elevate Go API development! 🚀 Streamlined design, automatic code generation, and seamless HTTP/gRPC support. ✨ (by goadesign)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
goa go-kit
40 32
5,453 26,088
0.7% 0.5%
9.3 3.8
5 days ago 5 days ago
Go Go
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

goa

Posts with mentions or reviews of goa. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-09.
  • Microservices communication
    3 projects | /r/golang | 9 Dec 2023
    See https://goa.design/. It automates all the comms stuff, so you just write: 1) a design file showing your functions, 2) an implantation of those functions, and 3) a very generic "main.go" (basically the same for all your services) that decides "how is this exposed over gRPC or REST or other comms?". The rest of the code is generated.
  • Create Production-Ready SDKs with Goa
    9 projects | dev.to | 22 Nov 2023
    Perhaps the easiest way to find out how to do something (especially when using Meta) is to search the test cases when you have cloned the source code.
  • Which is the best framework to create web apps with go?
    6 projects | /r/golang | 29 Jun 2023
    If you really need a framework, you can take a look at Echo or, for a contract-first approach, https://goa.design/
  • OpenAPI v4 Proposal
    24 projects | news.ycombinator.com | 31 May 2023
    Few folks in here are (rightly) frustrated with the code generation story and broader tooling support around the OpenAPI standard. I've found a few alternative approaches quite nice to work with:

    - Use a DSL to describe your service and have it spit out the OpenAPI spec as well as server stubs. In other words, I wouldn't bother writing OpenAPI directly - it's an artifact that is generated at build time. As a Go user, I quite like Goa (https://goa.design/) but there are others shared in here like TypeSpec.

    - There are situations where sticking a backend-for-frontend (BFF) in front of APIs can yield great productivity boosts. For example, in the past we built a thin GraphQL proxy that calls out to a poorly structured REST API. Integrating with that was much more convenient. Most recently, I've been playing with a BFF built with tRPC (https://trpc.io/) which calls out to a REST API. It seemed to provide an even better experience if you use TypeScript on the front-end and in the BFF. It does not have a codegen step and I was really pleased with how fast I could iterate with it - granted it was a toy project.

  • Beginner-friendly API made with Go following hexagonal architecture.
    5 projects | /r/golang | 21 May 2023
    One of the biggest issues I see is that you are using the same models for API as you are for the database. That wouldn’t fly in a real work system. And even though your doing simple CRUD I would introduce another layer for business logic. You should never have the Controller calling you database code directly. It never “stays” that simplistic. One of the easiest ways to deal with this is to use Goa. https://goa.design/ It takes care of generating your API models and it creates the Interfaces to implement for your business logic. Furthermore it creates OpenAPI documentation (something missing in this design that is a must for commercial development).
  • Go with PHP
    19 projects | news.ycombinator.com | 10 May 2023
    I left PHP for Go.

    - with http://sqlc.dev I don't have to write ORM or model code anymore.

    - with http://goa.design I can have well-documented API's that any team can generate a client for in any language. It also generates the HTTP JSON and gRPC servers for me so I can focus on my logic.

    - with https://github.com/99designs/gqlgen I can define GraphQL revolvers that play well with sqlc (any RDBMS) or I can use a key-value store.

    - speaking of key-value stores, Go allows them to be embedded! Even SQLite now has the https://litestream.io/ project to make it super simple to use a durable, always backed-up SQLite database even in a serverless context.

    Go is faster, uses less memory, and has really-well designed stdlib without all the bugs I used to face trying to use the PHP stdlib.

  • Do you really need microservices?
    2 projects | /r/Python | 9 May 2023
    Goa and Kong are some of the best frameworks to develop and deploy microservices. They provide features such as out-of-the-box support for service discovery, routing and authentication that make it easier to build more complex applications. There are also newer architectural frameworks with less steep learning curves like GPTDeploy that lets you build and deploy microservices with a single command.
  • Dumb question about APIs, Mux and Go
    3 projects | /r/learngolang | 27 Apr 2023
    Or the one we use at work: https://goa.design/ Goa does a lot more and maybe more than you need. We use it as it can generate both REST and gRPC as well as API models and OpenAPI documentation (JSON and YAML).
  • Why is gin so popular?
    6 projects | /r/golang | 18 Apr 2023
  • Does this project structure make sense?
    6 projects | /r/golang | 5 Apr 2023
    I typically use Goa for my controller. It makes the API Controller, API models, and OpenAPI Documentation. Making the OpenAPI documentation can be a pain, so this really helps. https://goa.design/

go-kit

Posts with mentions or reviews of go-kit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-03.
  • PHP to Golang
    9 projects | /r/golang | 3 Jun 2023
    https://github.com/go-kit/kit
  • GoLang — Simplifying Complexity “The Beginning”
    9 projects | dev.to | 27 May 2023
    . Web backend (with various frameworks available) . Web Assembly (one of them is vugu framework) . Microservices (some frameworks: Go Micro, Go Kit, Gizmo, Kite) . Fragments services (Term mentioned by @jeffotoni in a microservices discussion group) . Lambdas (FaaS example) . Client Server . Terminal applications (using the tview lib) . IoT (some frameworks) . Bots (some here) . Client Applications using Web technology . Desktop using Qt+QML, Native Win Lib (example Qt, Qt widgets, Qml) . Network Applications . Protocol applications . REST Applications . SOAP Applications . GraphQL Applications . RPC Applications . TCP Applications . gRPC Applications . WebSocket Applications . GopherJS (compiles Go to JavaScript)
  • go-kit VS Don - a user suggested alternative
    2 projects | 15 Mar 2023
  • Microservices: GoLang in a Spring Cloud architecture
    2 projects | dev.to | 9 Feb 2023
    To implement service discovery in our GoLang microservice we will use GoKit, a toolkit for microservices that provides support to auth, log, service discovery, tracing and more. For this starter code the mod already installed, you can skip this step
  • What's the best dependency injection framework / methodology for Golang for the enterprise?
    7 projects | /r/golang | 21 Dec 2022
    My company uses go-kit
  • Best up-to-date Golang book
    2 projects | /r/golang | 14 Dec 2022
    For reference my company Go projects are built with (go-kit)[https://gokit.io/] design patterns.
  • FRAMEWORKS IN GOLANG.
    4 projects | dev.to | 1 Nov 2022
    5. kit. The kit framework is a programming toolkit for building robust, reliable, and maintainable microservices in Golang. It is a collection of packages and best practices that offer businesses of all sizes a thorough, reliable, and trustworthy way to create microservices. Go is a fantastic general-purpose language, but microservices need some specialized assistance. As a result, the kit framework offers infrastructure integration, system observability, and Remote Procedure Call (RPC) safety. Golang is a first-class language for creating microservices in any organization thanks to its composition of numerous closely related packages that together form an opinionated framework for building substantial Service-Oriented Architectures (SOAs).It was created with interoperability in mind, and developers are free to select the platforms, databases, components, and architectural styles that best suit their needs. The disadvantage of using go-kit is that it has a high overhead for adding API to the service because of how heavily it relies on interfaces. Documentation Link: https://github.com/go-kit/kit
  • GitHub - gookit/ini: đź“ť Go INI config management. support multi file load, data override merge. parse ENV variable, parse variable reference. Dotenv file parse and loader.
    2 projects | /r/golang | 16 Oct 2022
    At first I was confused but this GitHub user/org is completely different from the massively popular go-kit/kit https://github.com/go-kit/kit
  • Go Micro: a standard library for distributed systems development
    8 projects | news.ycombinator.com | 30 Sep 2022
    https://github.com/go-kit/kit#related-projects

    go-micro seems like it does a bit too much, like service discovery and balancing within the framework when that's likely better handled by an Envoy/Istio.

  • Real World Micro Services
    16 projects | news.ycombinator.com | 28 Sep 2022
    I think the more interesting aspect of this is the framework being used: https://github.com/micro/micro

    I haven't dug into it at all yet, but at a glance it looks like it's aiming to do something similar to what Go kit (https://gokit.io/) or Finagle (https://twitter.github.io/finagle/) does, where it gives you a nice abstraction for defining your "service" and then handles all the supplementary aspects (service discovery, serialization, retry/circuit breaker logic, rate limiting, hooks for logging, tracing, and metrics, etc) so you don't have to build those from scratch every time.

    I don't know if any of those other frameworks could really be considered very "successful" outside the original organizations they were built for (it seems like the industry has bet more on service meshes and API gateway products), but I'd probably be more inclined to start with one of them than making a new framework.

What are some alternatives?

When comparing goa and go-kit you can also consider the following projects:

Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.

GoSwagger - Swagger 2.0 implementation for go

Echo - High performance, minimalist Go web framework

oapi-codegen - Generate Go client and server boilerplate from OpenAPI 3 specifications

Fiber - ⚡️ Express inspired web framework written in Go

kratos - Your ultimate Go microservices framework for the cloud-native era.

gqlgen - go generate based graphql server library

go-micro - A Go microservices framework