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: Video content search using MongoDB Atlas Search and Google Machine Learning | dev.to | 2022-11-25

    I started my project with developing API server in Golang. For the HTTP library I used Gin framework, as it provides an friendly interface to build REST ready API.

  • Echo

    High performance, minimalist Go web framework

    Project mention: Those who use an http client on top of/instead of the built in http package, what do you use and why? | reddit.com/r/golang | 2022-11-22

    I use https://echo.labstack.com/, it's minimalist. Pocketbase also uses Echo.

  • Zigi

    Workflow assistant built for devs & their teams. Automate the mundane part of your day, with live actionable messages for your GitHub & Jira tasks.

  • go-kit

    A standard library for microservices.

    Project mention: FRAMEWORKS IN GOLANG. | dev.to | 2022-11-01

    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

  • Fiber

    ⚡️ Express inspired web framework written in Go

    Project mention: Go Framework: No Framework? | news.ycombinator.com | 2022-11-29
  • Iris

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

    Project mention: Chi , gin , mux , fiber or standard library ? | reddit.com/r/golang | 2022-09-25

    Check Iris (https://github.com/kataras/iris) before you decide.

  • kratos

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

    Project mention: Best golang framework for microservice | reddit.com/r/golang | 2022-10-01

    https://github.com/go-kratos/kratos has good examples for project layout

  • websocket

    A fast, well-tested and widely used WebSocket implementation for Go.

    Project mention: Chrome reset my WebSocket connection over and over | reddit.com/r/golang | 2022-11-15

    Hello I write a service in golang. I used "net/http" package and "github.com/gorilla/websocket" for implementing WebSocket.I have a client in my web application that try to connect to my golang service through WebSocket. everything goes fine with firefox. but in chrome, my connection reset over and over. I watch network packages in Wireshark and noticed that the connection was established but after a second reset by the chrome browser. I'm sure there is nothing wrong with my web app and the problem is related to the programming language. below is my code snippet. Any guide or comment will be appreciated.

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • mux

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

    Project mention: The best Go framework: no framework? (Three Dots Tech) | reddit.com/r/golang | 2022-11-29

    Assuming you mean “frameworks” to mean frameworks for APIs, then no. Just stdlib and gorilla/mux for me.

  • httprouter

    A high performance HTTP request router that scales well

    Project mention: Standard library, Fiber, Iris, Gin, ... where does one even begin with writing production web apps in Go? | reddit.com/r/golang | 2022-11-14

    As another aside, I will actively discourage Iris. https://github.com/julienschmidt/httprouter/issues/148 https://www.reddit.com/r/golang/comments/b481q7/a_warning_about_githubcomkatarasiris/

  • Revel

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

    Project mention: Most Popular GoLang Frameworks | dev.to | 2022-09-20

    Website: http://revel.github.io

  • chi

    lightweight, idiomatic and composable router for building Go HTTP services

    Project mention: The best Go framework: no framework? (Three Dots Tech) | reddit.com/r/golang | 2022-11-29

    I am learning Go. I find confusing this discussion about web frameworks deviation from the standard library, however I've read about chi library as a good alternative, what do you think?

  • gqlgen

    go generate based graphql server library

    Project mention: Libraries you use most of your projects? | reddit.com/r/golang | 2022-11-02

    In addition to the ones you mentioned, I also always use: + sqlc - Compile SQL to type-safe code + gqlgen - generate GraphQL server from schema + oapi-codegen - Go client and server boilerplate from OpenAPI 3 specifications + pester - Go http calls with retries and backoff + backoff - exponential backoff algorithm in Go

  • GoSwagger

    Swagger 2.0 implementation for go

    Project mention: OpenAPI Specification: The Complete Guide | dev.to | 2022-05-18

    go-swagger brings to the go community a complete suite of fully-featured, high-performance, API components to work with a Swagger API: - Github - Swagger 2.0 implementation for go

  • Buffalo

    Rapid Web Development w/ Go

    Project mention: Does Go need overcoding for tasks that other languages can execute in one liners (or with less code)? | reddit.com/r/golang | 2022-11-14

    I just used go buffalo if I need a really quick blog. https://gobuffalo.io/

  • negroni

    Idiomatic HTTP Middleware for Golang

  • goa

    Design-based APIs and microservices in Go

    Project mention: Best framework for creating rest API app | reddit.com/r/golang | 2022-10-26

    Checkout GOA!

  • go-socket.io

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

    Project mention: How to use Redis pub/sub to handle socket.io sessions across multiple instances ? | dev.to | 2022-09-08

    Socket.io helps in delivering messages to client in real time. Behind the scene socket.io creates a bi-directional channel between server and client therefore enabling bidirectional communication between web client and server. For demo code I have used a golang server therefor i have used a golang library called go-socket.io . Some advance socket.io concepts which you should be aware are channel, event, namespace and rooms.

  • Gizmo

    A Microservice Toolkit from The New York Times

    Project mention: Open source vs. the emotional connection to your own project | reddit.com/r/webdev | 2022-06-08

    - the new york times publishes kyt, gizmo and store (which they have now moved to a different organization store 4)

  • 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: Is it possible to write a well-typed controller/handler in Go? | reddit.com/r/golang | 2022-06-30

    Flamego and it's predecessor Macaron also allow a lot of flexibility in the handler definition.

  • alice

    Painless middleware chaining for Go

    Project mention: Recommended http helper libraries | reddit.com/r/golang | 2022-07-01

    May I suggest using this httprouter for router and this for middleware Alice

  • hertz

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

    Project mention: An interesting process of solving an issue | dev.to | 2022-11-28

    That's it for analyzing and resolving this issue. I hope you found it helpful and I'm very welcome to try out the Hertz HTTP framework. You can find more information about Hertz in my previous posts. And welcome to some very valuable issues for Hertz, the CloudWeGo community members will do their best to answer.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

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 2022-11-29.

Go Web Frameworks related posts

Index

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

Project Stars
1 Gin 64,725
2 Echo 24,281
3 go-kit 24,242
4 Fiber 23,416
5 Iris 23,251
6 kratos 19,352
7 websocket 18,465
8 mux 17,745
9 httprouter 14,701
10 Revel 12,778
11 chi 12,654
12 gqlgen 8,326
13 GoSwagger 8,159
14 Buffalo 7,320
15 negroni 7,271
16 goa 4,941
17 go-socket.io 4,916
18 Gizmo 3,659
19 web.go 3,605
20 go-json-rest 3,505
21 Macaron 3,333
22 alice 2,694
23 hertz 2,659
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
www.sonarlint.org