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: How to Build and Document a Go REST API with Gin and Go-Swagger | dev.to | 2024-03-08

    Now let’s define the functions that will be called whenever a request hits our API. All the functions will be referencing the context provided by the Gin web framework. Paste the following code below the sample slice we just added to api.go:

  • Fiber

    ⚡️ Express inspired web framework written in Go

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

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Echo

    High performance, minimalist Go web framework

  • Project mention: Migrating Next.js App to GO + Templ & HTMX | dev.to | 2024-05-05

    Echo for the web server.

  • go-kit

    A standard library for microservices.

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

    https://github.com/go-kit/kit

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

  • chi

    lightweight, idiomatic and composable router for building Go HTTP services

  • Project mention: Deploy a Golang serverless function for a demo form with htmx | dev.to | 2024-03-30

    I use go-chi for handling routes and to server static file(stylesheet).

  • SaaSHub

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

    SaaSHub logo
  • httprouter

    A high performance HTTP request router that scales well

  • Project mention: From Homemade HTTP Router to New ServeMux | dev.to | 2024-04-26

    Even third-party HTTP routers take conflict detection into consideration; for example, httprouter either matches one pattern or it doesn't. It is designed to become.

  • 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
  • negroni

    Idiomatic HTTP Middleware for Golang

  • go-socket.io

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

  • goa

    🌟 Goa: Elevate Go API development! 🚀 Streamlined design, automatic code generation, and seamless HTTP/gRPC support. ✨

  • Project mention: IBM to Acquire HashiCorp, Inc | news.ycombinator.com | 2024-04-24

    My experience of Golang is that dependency injection doesn't really have much benefit. It felt like a square peg in a round hole exercise when my team considered it. The team was almost exclusively Java/Typescript Devs so it was something that we thought we needed but I don't believe we actually missed once we decided to not pursue it.

    If you are looking at OpenAPI in Golang I can recommend having a look at https://goa.design/. It's a DSL that generates OpenAPI specs and provides an implementation of the endpoints described. Can also generate gRPC from the same definitions.

    We found this removed the need to write almost all of the API layer and a lot of the associated validation. We found the generated code including the server element to be production ready from the get go.

  • hertz

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

  • Project mention: Mastering Golang Microservices - A Practical Guide: Embrace High-Performance with Kitex and Hertz | dev.to | 2024-01-12

    The world of software development is fast-paced, and having reliable and efficient tools makes a significant difference. This is where CloudWeGo with two of its major sub-projects - Kitex and Hertz, comes into play. A solution with the potential to transform the way developers navigate the cloud environment, thanks to its robust, open-source technology.

  • 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

  • melody

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

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

  • alice

    Painless middleware chaining for Go

  • Tollbooth

    Simple middleware to rate-limit HTTP requests.

  • SaaSHub

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

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

Go Web Frameworks related posts

  • Migrating Next.js App to GO + Templ & HTMX

    5 projects | dev.to | 5 May 2024
  • From Homemade HTTP Router to New ServeMux

    4 projects | dev.to | 26 Apr 2024
  • IBM to Acquire HashiCorp, Inc

    5 projects | news.ycombinator.com | 24 Apr 2024
  • Building a Playful File Locker with GoFr

    4 projects | dev.to | 19 Apr 2024
  • How AuDHD traits have helped me get good at devrel

    1 project | dev.to | 14 Apr 2024
  • Goralim – A rate limiting package for Go to handle distributed workloads

    7 projects | news.ycombinator.com | 2 Apr 2024
  • Deploy a Golang serverless function for a demo form with htmx

    3 projects | dev.to | 30 Mar 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 7 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 Gin 75,577
2 Fiber 31,456
3 Echo 28,568
4 go-kit 26,133
5 Iris 24,890
6 kratos 22,480
7 chi 17,159
8 httprouter 16,297
9 Revel 13,084
10 gf 10,881
11 gqlgen 9,635
12 GoSwagger 9,290
13 negroni 7,417
14 go-socket.io 5,570
15 goa 5,469
16 hertz 4,712
17 Gizmo 3,753
18 web.go 3,650
19 melody 3,560
20 go-json-rest 3,511
21 Macaron 3,479
22 alice 2,989
23 Tollbooth 2,586

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com