The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 23 Go 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.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
gf
GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang. (by gogf)
-
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.
-
earthly
Super simple build framework with fast, repeatable builds and an instantly familiar syntax – like Dockerfile and Makefile had a baby.
-
yao
:rocket: A performance app engine to create web services and applications in minutes.Suitable for AI, IoT, Industrial Internet, Connected Vehicles, DevOps, Energy, Finance and many other use-cases.
-
ergo
An actor-based Framework with network transparency for creating event-driven architecture in Golang. Inspired by Erlang. Zero dependencies.
-
go-doudou
go-doudou(doudou pronounce /dəudəu/)is OpenAPI 3.0 (for REST) spec and Protobuf v3 (for grpc) based lightweight microservice framework. It supports monolith service application as well.
-
huma
A modern, simple, fast & flexible micro framework for building HTTP REST/RPC APIs in Go backed by OpenAPI 3 and JSON Schema.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: How to Build and Document a Go REST API with Gin and Go-Swagger | dev.to | 2024-03-08Now 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:
SerpApi focuses on scraping search results. That's why we need extra help to scrape individual sites. We'll use GoColly package.
Project mention: Cache is King: A guide for Docker layer caching in GitHub Actions | news.ycombinator.com | 2024-04-07Also CACHE keyword, for cache mounts. Makes incremental tools like compilers work well in the context of dockerfiles and layer caches.
That can extend beyond just producing docker iamges as well. Under the covers the CACHE keyword is how lib/rust in Earthly makes building Rust artifacts in CI faster.
https://github.com/earthly/earthly/issues/1399
Project mention: I write HTTP services in Go after 13 years (Mat Ryer, 2024) | news.ycombinator.com | 2024-02-09I found fx(https://github.com/uber-go/fx) to be a super simple yet versatile tool to design my application around.
All the advice in the article is still helpful, but it takes the "how do I make sure X is initialized when Y needs it" part completely out of the equation and reduces it from an N*M problem to an N problem, ie I only have to worry about how to initialize individual pieces, not about how to synchronize initialization between them.
I've used quite a few dependency injection libraries in various languages over the years (and implemented a couple myself) and the simplicity and versatility of fx makes it my favorite so far.
Project mention: Dependency Managers Don't Manage Your Dependencies (2021) | news.ycombinator.com | 2023-06-19I can't share any of my own examples, but most of the work I do was originally based on Vugu[0] which is open source. It is loosely modelled on Vue, so template files have both HTML and Go source (for the view / front end / ui handling) in the one file.[1] The code I have written has since diverged a bit from Vugu but at its core it's handled the same way.
People are still working on Vugu (you can check the issues / branches) but there hasn't been a new release in a while; it's still somewhat experimental.
[0] https://www.vugu.org/
Project mention: A Golang framework for web artisans. PHP is so good gophers want to emulate it. | /r/programmingcirclejerk | 2023-07-06
Take a look at Goyave, it is inspired by Laravel on some aspects. It's focused on REST APIs only. I wouldn't say it's "the best" because there is no best, it always depends on your needs. Anyway, yesterday I released the first preview version of the v5, a rewrite of the framework trying to solve many weak points of the previous version. It's poorly documented for now because it is still WIP and I wouldn't recommend building production applications with it. Stick to v4 for this for now.
Project mention: I write HTTP services in Go after 13 years (Mat Ryer, 2024) | news.ycombinator.com | 2024-02-09
Go Framework related posts
- (Part 5)Golang Framework Hands-on - KisFlow Stream Computing Framework-Function Scheduling
- (Part 4)Golang Framework Hands-on - KisFlow Stream Computing Framework- Data Stream
- (Part 3)Golang Framework Hands-on - KisFlow Stream Computing Framework - Project Construction / Basic Modules
- (Part 2) Golang Framework Hands-on - KisFlow Streaming Computing Framework - Project Construction / Basic Modules
- Password-less Login in Go from Scratch
- Huma: REST API framework for Go with OpenAPI generation
- From Django or Flask to Sponge: How to Easily Develop High-Performance Web Services with Golang
-
A note from our sponsor - WorkOS
workos.com | 26 Apr 2024
Index
What are some of the best open-source Framework projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | Gin | 75,469 |
2 | Fiber | 31,381 |
3 | go-zero | 27,600 |
4 | bubbletea | 23,982 |
5 | kratos | 22,420 |
6 | colly | 22,165 |
7 | gf | 10,843 |
8 | earthly | 10,838 |
9 | yao | 6,921 |
10 | fx | 5,175 |
11 | vugu | 4,765 |
12 | melody | 3,547 |
13 | go-chassis | 2,722 |
14 | ergo | 2,660 |
15 | goravel | 1,924 |
16 | Goyave | 1,414 |
17 | go-doudou | 1,396 |
18 | pagoda | 1,289 |
19 | huma | 1,276 |
20 | REST Layer | 1,246 |
21 | honeytrap | 1,193 |
22 | Gearbox | 743 |
23 | uhaha | 596 |
Sponsored