Go Web Frameworks

Open-source Go projects categorized as Web Frameworks

Top 23 Go Web Framework Projects

Web Frameworks
  • 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: Connect An Application to Neon Example (Go) | dev.to | 2024-09-01

    Learn how to use Go with Neon by exploring a demo Go API built with Gin plus PQ driver and how the API is used to create and manage E-bikes.

  • SaaSHub

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

    SaaSHub logo
  • Fiber

    ⚡️ Express inspired web framework written in Go

    Project mention: My first CLI with Go | dev.to | 2024-09-25

    When creating this template project, I saw that I had to set up the server manually and I used gofiber as it has express-like functionalities, and as a MERN stack developer, I found it very easy to use. Once I thought to make a server-project generator in Express as well, but they already have one, it is called express-generator. Then I thought there might be the same thing for Fiber as well. But when I searched in GitHub with the topic:go-backend-template, I only found pre-made templates that you can clone and use for your projects. That's when I decided to give it a shot.

  • Echo

    High performance, minimalist Go web framework

    Project mention: Some Go web dev notes | news.ycombinator.com | 2024-09-29

    I am over Gin and have been for years yet everyone keeps using it because it has inertia. The docs are garbage.

    Big fan of Echo and it has much better docs.

    https://echo.labstack.com/

  • go-kit

    A standard library for microservices.

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

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

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

  • 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: Navigating System Communication: A Comprehensive Overview | dev.to | 2024-08-01

    To take a more in-depth look at how GraphQL works, check out this project built using Go and gqlgen.

  • 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

  • Encore

    Development Platform for building robust type-safe distributed systems with declarative infrastructure

    Project mention: How to make your Express app 9x faster (and type-safe) | dev.to | 2024-10-07

    💡 This guide shows you how to migrate an existing Express.js app to Encore.ts, an Open Source backend framework for TypeScript, to unlock a 9x performance boost.

  • 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: Hertz: A High-Performance Go HTTP Framework for Microservices | news.ycombinator.com | 2024-08-15
  • Gizmo

    A Microservice Toolkit from The New York Times

  • melody

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

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

  • gofr

    An opinionated GoLang framework for accelerated microservice development. Built in support for databases and observability.

    Project mention: Runtime Log Level Change using Golang & GoFr | dev.to | 2024-07-22

    Support GoFr by giving a ⭐star: https://github.com/gofr-dev/gofr

  • alice

    Painless middleware chaining for Go

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 discussion

Log in or Post with

Go Web Frameworks related posts

  • Encore.ts: a new type of framework

    1 project | dev.to | 26 Sep 2024
  • Fastify v5 breaking changes: should you upgrade?

    1 project | dev.to | 20 Sep 2024
  • Creating a Bot for Bluesky Social

    5 projects | dev.to | 13 Sep 2024
  • Creating Docker Image of Spring Boot Application using Buildpacks

    4 projects | dev.to | 8 Sep 2024
  • Connect An Application to Neon Example (Go)

    4 projects | dev.to | 1 Sep 2024
  • File Uploads with HTMX and Golang

    3 projects | dev.to | 19 Aug 2024
  • Hertz: A High-Performance Go HTTP Framework for Microservices

    1 project | news.ycombinator.com | 15 Aug 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 11 Oct 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 78,329
2 Fiber 33,409
3 Echo 29,672
4 go-kit 26,547
5 Iris 25,194
6 kratos 23,183
7 chi 18,288
8 httprouter 16,580
9 Revel 13,150
10 gf 11,535
11 gqlgen 9,895
12 GoSwagger 9,496
13 negroni 7,462
14 Encore 6,986
15 goa 5,657
16 hertz 5,239
17 Gizmo 3,764
18 melody 3,719
19 web.go 3,668
20 go-json-rest 3,514
21 Macaron 3,504
22 gofr 3,210
23 alice 3,103

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

Did you konow that Go is
the 4th most popular programming language
based on number of metions?