negroni
alice
Our great sponsors
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.
negroni
We haven't tracked posts mentioning negroni yet.
Tracking mentions began in Dec 2020.
alice
-
Recommended http helper libraries
May I suggest using this httprouter for router and this for middleware Alice
-
Crafting Middlewares In Go
Alice is a go library that can be used to chain mulitple middleware functions and application handler together.
-
Web Development in Go: Middleware, Templating, Databases & Beyond
You can use a library like Alice to transform the above construct to a more readable form such as:
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.
chi - lightweight, idiomatic and composable router for building Go HTTP services
interpose - Minimalist net/http middleware for golang
Echo - High performance, minimalist Go web framework
httprouter - A high performance HTTP request router that scales well
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:
mux - A powerful HTTP router and URL matcher for building Go web servers with 🦍
golax - Golax, a go implementation for the Lax framework.
httpware