Our great sponsors
-
waggy
The dead simple, easy-to-use library for writing HTTP handlers and routers in Go that can be used in standard HTTP server environments or in WAGI (Web Assembly Gateway Interface) environments
-
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.
-
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.
-
restruct
RESTruct is a rest router written in Go to automatically create routes based on your structs. (by altlimit)
-
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.
But, if you care about speed take a look at httprouter. That's the one we're using in our company. It's fast but the biggest downsides for me are:
Chi for work, my own router for personal projects
For me it's mux and my personal router restruct but since mux is not maintained anymore, maybe chi will be my goto for new projects that needs more stability in the api. Since restruct is a router based on structs, which I use for fast prototyping.
I don't use chi anymore ever since this happened.
I use oapi-codegen with Echo
echo! It's really easy it to use for simple routes but you can as well define routing groups as I did here.