Go Web Frameworks

Open-source Go projects categorized as Web Frameworks

Top 23 Go Web Framework Projects

  • GitHub repo 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.

    Project mention: What's your favourite (go) web framework? | reddit.com/r/golang | 2021-06-13

    For me, the middle ground is best, chi, gin, httprouter are the sweetspot. But that's based on skills, style, and requirements (and experience - I've used all the ones I have mentioned in anger)

  • GitHub repo 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 |

    Project mention: Can I mix REST and gRPC? | reddit.com/r/golang | 2021-05-05

    You can through api gateway. It's easier with Iris web framework, example code: https://github.com/kataras/iris/tree/master/_examples/mvc/grpc-compatible.

  • GitHub repo go-kit

    A standard library for microservices.

    Project mention: Show HN: We wrote a book about building business applications in Go | news.ycombinator.com | 2021-05-13

    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/

  • GitHub repo Echo

    High performance, minimalist Go web framework

    Project mention: Which is the best go web framework for creating a rest api 's backend ? | reddit.com/r/golang | 2021-06-19

    Routers/Microframeworks: - chi - echo - ozzo-routing

  • GitHub repo mux

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

    Project mention: What's your favourite (go) web framework? | reddit.com/r/golang | 2021-06-13

    Favourite's hard to define, standard library can be a bit bare bones (you need to reinvent the wheel a few times for common tasks) and gorilla/mux can be a bit bloated (it's as close as "batteries included" as you're going to get)

  • GitHub repo Fiber

    ⚡️ Express inspired web framework written in Go

    Project mention: Can someone recommend me a Golang complete repo | reddit.com/r/golang | 2021-06-14

    Built on Gofiber (https://gofiber.io)

  • GitHub repo httprouter

    A high performance HTTP request router that scales well

    Project mention: What's your favourite (go) web framework? | reddit.com/r/golang | 2021-06-13

    For me, the middle ground is best, chi, gin, httprouter are the sweetspot. But that's based on skills, style, and requirements (and experience - I've used all the ones I have mentioned in anger)

  • GitHub repo Revel

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

    Project mention: Best Golang Web Framework for Larg Projects | dev.to | 2021-03-08


  • GitHub repo chi

    lightweight, idiomatic and composable router for building Go HTTP services

    Project mention: What is the starting point of web development in golang? | reddit.com/r/golang | 2021-06-17

    Here is link number 1 - Previous text "chi"

  • GitHub repo negroni

    Idiomatic HTTP Middleware for Golang

  • GitHub repo GoSwagger

    Swagger 2.0 implementation for go

    Project mention: Is Golang good choice for an API of a medium sized projects ? | reddit.com/r/golang | 2021-06-15
  • GitHub repo Buffalo

    Rapid Web Development w/ Go

    Project mention: CRUD in Go: equivalent of Django REST framework | reddit.com/r/golang | 2021-06-16

    Longer Answer: Sorta, things like buffalo and gorm sorta do some of the things. But they are not point and click. beego does some pretty good code generation. Depending on what you are really looking for, you might find awesome-go to give you the base line.

  • GitHub repo gqlgen

    go generate based graphql server library

    Project mention: Golang and graphql scalability | reddit.com/r/golang | 2021-06-14
  • GitHub repo goa

    Design-based APIs and microservices in Go

    Project mention: Show HN: Encore – Go framework for distributed systems | news.ycombinator.com | 2021-04-14

    This seems very much like https://goa.design/? Did you know it exists?

  • GitHub repo go-socket.io

    socket.io library for golang, a realtime application framework.

  • GitHub repo web.go

    The easiest way to create web applications with Go

  • GitHub repo go-json-rest

    A quick and easy way to setup a RESTful JSON API

  • GitHub repo Gizmo

    A Microservice Toolkit from The New York Times (by nytimes)

  • GitHub repo Macaron

    Package macaron is a high productive and modular web framework in Go.

  • GitHub repo alice

    Painless middleware chaining for Go

    Project mention: Web Development in Go: Middleware, Templating, Databases & Beyond | dev.to | 2021-01-27

    You can use a library like Alice to transform the above construct to a more readable form such as:

  • GitHub repo utron

    A lightweight MVC framework for Go(Golang)

  • GitHub repo melody

    :notes: Minimalist websocket framework for Go

  • GitHub repo Tollbooth

    Simple middleware to rate-limit HTTP requests.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-06-19.


What are some of the best open-source Web Framework projects in Go? This list will help you:

Project Stars
1 Gin 48,789
2 Iris 20,728
3 go-kit 20,408
4 Echo 20,074
5 mux 14,542
6 Fiber 13,821
7 httprouter 12,798
8 Revel 12,277
9 chi 9,570
10 negroni 7,008
11 GoSwagger 6,485
12 Buffalo 6,259
13 gqlgen 6,138
14 goa 4,279
15 go-socket.io 4,121
16 web.go 3,528
17 go-json-rest 3,473
18 Gizmo 3,422
19 Macaron 3,164
20 alice 2,277
21 utron 2,187
22 melody 2,097
23 Tollbooth 1,954
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives