Go Web Frameworks

Open-source Go projects categorized as Web Frameworks

Top 23 Go Web Framework 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.

    Project mention: Building RESTful API with Hexagonal Architecture in Go | dev.to | 2023-09-27

    It uses Gin as the HTTP framework and PostgreSQL as the database with pgx as the driver and Squirrel as the query builder. It also utilizes Redis as the caching layer with go-redis as the client.

  • Fiber

    ⚡️ Express inspired web framework written in Go

    Project mention: อย่าเพิ่งใช้ fiber ถ้ายังไม่ได้อ่าน doc | dev.to | 2023-10-31
  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • Echo

    High performance, minimalist Go web framework

    Project mention: Creating a Dockerfile for your Go Backend | dev.to | 2023-09-12

    In this tutorial, I will be using the Echo framework to build the backend. You can learn more about Echo here.

  • go-kit

    A standard library for microservices.

    Project mention: PHP to Golang | /r/golang | 2023-06-03


  • Iris

    The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket:

    Project mention: How to Use Iris and PostgreSQL for Web Development | dev.to | 2023-07-02

    Iris is a fast and lightweight web framework for Go that offers a rich set of features and a high-performance engine. PostgreSQL is a powerful and reliable relational database system that supports advanced data types and functions. Together, they can form a solid foundation for building modern web applications.

  • kratos

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

  • httprouter

    A high performance HTTP request router that scales well

    Project mention: Authentication system using Golang and Sveltekit - Initialization and setup | dev.to | 2023-06-02

    Following the completion of the series — Secure and performant full-stack authentication system using rust (actix-web) and sveltekit and Secure and performant full-stack authentication system using Python (Django) and SvelteKit — I felt I should keep the streak by building an equivalent system in PURE go with very minimal external dependencies. We won't use any fancy web framework apart from httprouter and other basic dependencies including a database driver (pq), and redis client. As usual, we'll be using SvelteKit at the front end, favouring JSDoc instead of TypeScript. The combination is ecstatic!

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • chi

    lightweight, idiomatic and composable router for building Go HTTP services

    Project mention: newbie here looking for a framework | /r/golang | 2023-10-03

    For HTTP I'd look at Chi https://github.com/go-chi/chi

  • Revel

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

    Project mention: Elixir or golang which wiil be good for large websocket connections. | /r/elixir | 2023-05-11

    Closest spiritual competitor to Phoenix I’m aware of in Go world is Revel (https://revel.github.io/) and it’s still at a stiff feature disadvantage.

  • gf

    GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang. (by gogf)

  • gqlgen

    go generate based graphql server library

    Project mention: Who moved my error codes? Adding error types to your GoLang GraphQL Server | dev.to | 2023-06-25

    GraphQL’s spec, as it turns out, does not specify how servers should handle internal errors at all, leaving it entirely to the choice of the frameworks’ creators. Take for example our GoLang GraphQL framework of choice - gqlgen. It makes no distinction between intentional and unexpected errors: all errors are returned as-is to the client within the error message. Internal errors, which often contain sensitive information like network details and internal URIs, would leak to clients easily if not caught manually by the programmer.

  • GoSwagger

    Swagger 2.0 implementation for go

    Project mention: How do you provide documentation for your REST APIs? | /r/golang | 2023-11-24
  • Buffalo

    Rapid Web Development w/ Go

    Project mention: My Love Letter to Rails (and Ruby) – Or, Why RoR Isn't Dead Yet | news.ycombinator.com | 2023-10-24

    You should probably stop because this is not a Go-way. And you wan't find anything with "batteries" other than https://github.com/gobuffalo/buffalo and https://github.com/beego/beego

    Haven't see anyone actually using them in production though.

  • negroni

    Idiomatic HTTP Middleware for Golang

  • go-socket.io

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

    Project mention: Want to Know https://github.com/googollee/go-socket.io socket server version | /r/golang | 2023-04-28

    I want to connect go socket server with flutter.I want to know which flutter client socket version https://github.com/googollee/go-socket.io support and socket server version.

  • goa

    Design-based APIs and microservices in Go

    Project mention: Create Production-Ready SDKs with Goa | dev.to | 2023-11-22

    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.

  • hertz

    Go HTTP framework with high-performance and strong-extensibility for building micro-services.

    Project mention: Cloudwego/Hertz: Go HTTP framework from ByteDance | news.ycombinator.com | 2023-07-02
  • Gizmo

    A Microservice Toolkit from The New York Times

    Project mention: GoLang — Simplifying Complexity “The Beginning” | dev.to | 2023-05-27

    . 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)

  • web.go

    The easiest way to create web applications with Go

  • go-json-rest

    A quick and easy way to setup a RESTful JSON API

  • Macaron

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

    Project mention: go-mir - a toolkit to develop RESTful API backend service like develop service of gRPC | /r/golang | 2023-03-31

    Mir is a toolkit to develop RESTful API backend service like develop service of gRPC. It adapt some HTTP framework sush as Gin, Chi, Hertz, Echo, Iris, Fiber, Macaron, Mux, httprouter。

  • melody

    :notes: Minimalist websocket framework for Go (by olahol)

    Project mention: Release v1.2.0 · gobwas/ws - WebSocket library for Go. | /r/golang | 2023-04-10

    I just recently started using melody (https://github.com/olahol/melody), which claims to be like gorilla websockets. I found it pretty quick to understand, but I haven't used it for anything that complicated. Has anyone used both melody and gobwas/ws? I'm mostly interested in ergonomics, not performance.

  • alice

    Painless middleware chaining for Go

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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 2023-11-24.

Go Web Frameworks related posts


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

Project Stars
1 Gin 72,795
2 Fiber 29,280
3 Echo 27,092
4 go-kit 25,654
5 Iris 24,479
6 kratos 21,719
7 httprouter 15,932
8 chi 15,900
9 Revel 13,003
10 gf 10,261
11 gqlgen 9,308
12 GoSwagger 9,000
13 Buffalo 7,928
14 negroni 7,379
15 go-socket.io 5,406
16 goa 5,337
17 hertz 4,341
18 Gizmo 3,740
19 web.go 3,640
20 go-json-rest 3,510
21 Macaron 3,438
22 melody 3,337
23 alice 2,860
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives