go-resources
chi
Our great sponsors
- Revelo Payroll - Free Global Payroll designed for tech teams
- SonarLint - Clean code begins in your IDE with SonarLint
- Onboard AI - Learn any GitHub repo in 59 seconds
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
go-resources | chi | |
---|---|---|
1 | 94 | |
105 | 15,427 | |
- | 2.2% | |
10.0 | 7.2 | |
26 days ago | 12 days ago | |
Go | ||
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-resources
-
Building my first go project, looking for package/resource suggestions
You can find them also here https://github.com/matt4biz/go-resources
chi
-
newbie here looking for a framework
For HTTP I'd look at Chi https://github.com/go-chi/chi
-
The Gorilla web toolkit project is being revived, all repos are out of archive mode.
In fact, it has zero dependencies outside of std lib in it's core: https://github.com/go-chi/chi/blob/master/go.mod
-
REST API with Go, Chi, MySQL and sqlx
chi
-
Fastest Way to Learn Golang?
Go by Example -> CRUD backend with chi
-
Could I get a code review?
Use a library for HTTP serving, such as Gin, Chi, or Echo. I personally use Chi, as it's just the right level of abstraction for how I like to work. Despite what others say here, don't try to re-implement everything in a modern serving library using the standard library.
-
How to start a Go project in 2023
A better answer would be some recommendations for component pieces. e.g., I will need most of the essential things in https://github.com/go-chi/chi, so why bother rolling a version myself? The same goes for things like sqlx. I'm averse to leaning on a "framework," but do find good value in targeted libraries.
-
Dumb question about APIs, Mux and Go
More minimalist approach: https://github.com/go-chi/chi
-
Why is gin so popular?
Chi has a bunch of pre-rolled middleware functions too: https://github.com/go-chi/chi/tree/master/middleware
-
what's your recommended router? chi, mux, something else?
I don't use chi anymore ever since this happened.
- Best approach for a monolithic web app?
What are some alternatives?
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.
Echo - High performance, minimalist Go web framework
mux - A powerful HTTP router and URL matcher for building Go web servers with 🦍
Fiber - ⚡️ Express inspired web framework written in Go
httprouter - A high performance HTTP request router that scales well
go-kit - A standard library for microservices.
websocket - A fast, well-tested and widely used WebSocket implementation for Go.
kin-openapi - OpenAPI 3.0 (and Swagger v2) implementation for Go (parsing, converting, validation, and more)
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:
negroni - Idiomatic HTTP Middleware for Golang
Goji - Goji is a minimalistic and flexible HTTP request multiplexer for Go (golang)
zerolog - Zero Allocation JSON Logger