go-kit VS Gin

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

go-kit

A standard library for microservices. (by go-kit)

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. (by gin-gonic)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
go-kit Gin
13 39
21,793 53,450
1.3% 1.8%
7.7 8.5
8 days ago about 21 hours 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.

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 2021-11-15.
  • Fun with generics: REST HTTP handler proof-of-concept
    3 projects | reddit.com/r/golang | 15 Nov 2021
    This comes dangerously close to functional services as popularized by Twitter et al and encapsulated in the well known Finagle library. I don’t know but I strongly suspect /u/peterbourgon was heavily influenced by this while developing the notion of Endpoints in his reasonably well known go-kit library, although it’s significantly less general due mostly to limitations in Go’s type system.
  • Is there any course for leaning MicroService with Golang? Thanks.
    1 project | reddit.com/r/golang | 7 Nov 2021
    I think go-kit would be a good starting point.
  • Protocols and Composition in Python
    3 projects | dev.to | 4 Nov 2021
    I first learned of this pattern in Go's go-kit where I've seen it called "service middlewares". The Design Patterns book describes something similar as the "decorator" pattern - not to be confused with Python decorators, which have the unfortunate property of melding themselves with what they decorate, which limits their practical usefulness, at least as far as reducing coupling is concerned.
  • Do you guys use frameworks with Go for backend development?
    7 projects | reddit.com/r/golang | 8 Oct 2021
    Go kit is a good backend development toolkit ... but not a framework.
  • Peter Bourgon: I have been permanently banned from all Golang community spaces
    1 project | news.ycombinator.com | 16 Sep 2021
    I recognize him for his efforts to bring Go to the enterprise world with https://gokit.io/ and public speaking, rooting for Go, when Go was not as prominent as it is today.

    I don’t know the reasons why he got banned, but it is irritating.

  • Scala or Go: Who Wore It Better?
    7 projects | dev.to | 6 Sep 2021
    After Go took off at Google and was released to the public, it got really popular as the language of concurrency, which helped in turn to make it the language of DevOps--particularly in concert with Kubernetes, which also emerged from Google. Go has expanded into other domains as well with the CMS Hugo and the microservices framework Go kit.
  • Should I learn Golang or use Ansible to delveop the operators?
    8 projects | reddit.com/r/kubernetes | 19 Aug 2021
    What's great is there are really great patterns to follow out there on github (both code patterns https://github.com/tmrts/go-patterns and examples https://github.com/avelino/awesome-go https://github.com/go-kit/kit and for the app itself, https://github.com/golang-standards/project-layout )... and for me a really naggy mentor who insists everything be "idiomatic go"
  • Questions on linters
    3 projects | reddit.com/r/golang | 29 Jun 2021
    For more background and discussion, including several demonstrations of error handling decorators, please see Go kit issue #164, Explain why Logger.Log returns error.
  • Show HN: We wrote a book about building business applications in Go
    7 projects | news.ycombinator.com | 13 May 2021
    Thanks for mentioning this experience -- I was really excited about Go early on but went with other languages after a while so didn't make any huge projects with it (and definitely not at a large employer/go shop).

    Did you have to do a lot of stuff that is DDD-related? Like building out abstractions for adapters and connection points, or did you use libraries that did that part for you mostly? I know of some stuff out there like go kit[0] which is quite pragmatic and does some of the 80% use-cases (serialization, transports, etc) DDD stuff for you.

    I think for the most part it's rare to actually need to write a lot of your own DDD pieces for CRUD-y apps, and the parts where the complexity would be worth it are often already done for you by the libraries/frameworks used.

    [0]: https://gokit.io/

  • Show HN: Encore – Go framework for distributed systems
    6 projects | news.ycombinator.com | 14 Apr 2021

Gin

Posts with mentions or reviews of Gin. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-16.

What are some alternatives?

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

Echo - High performance, minimalist Go web framework

Fiber - ⚡️ Express inspired web framework written in Go

mux - A powerful HTTP router and URL matcher for building Go web servers with 🦍

Beego - beego is an open-source, high-performance web framework for the Go programming language.

chi - lightweight, idiomatic and composable router for building Go HTTP services

Iris - The fastest HTTP/2 Go Web Framework. AWS Lambda, gRPC, MVC, Unique Router, Websockets, Sessions, Test suite, Dependency Injection and more. A true successor of expressjs and laravel | 谢谢 https://github.com/kataras/iris/issues/1329 |

Revel - A high productivity, full-stack web framework for the Go language.

fasthttprouter - A high performance fasthttp request router that scales well

httprouter - A high performance HTTP request router that scales well

Buffalo - Rapid Web Development w/ Go

negroni - Idiomatic HTTP Middleware for Golang