gongular
gocraft/web
Our great sponsors
gongular | gocraft/web | |
---|---|---|
2 | 2 | |
503 | 1,508 | |
- | 0.3% | |
1.8 | 0.0 | |
almost 4 years ago | over 3 years ago | |
Go | Go | |
GNU General Public License v3.0 or later | 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.
gongular
gocraft/web
-
Implemented a bench marker to compare Go's HTTP Router
gocraft/web
-
Why not custom Context type ?
I was using a custom context type before introduction of Context in the stdlib. I was inspired by https://github.com/gocraft/web . Of course i call it ctx Context... And pass it to each handlers and so on. It works, i've no issue with this since years.
What are some alternatives?
GoSwagger - Swagger 2.0 implementation for go
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.
Revel - A high productivity, full-stack web framework for the Go language.
CORS - Go net/http configurable handler to handle CORS requests
YARF - Yet Another REST Framework
chi - lightweight, idiomatic and composable router for building Go HTTP services
Buffalo - Rapid Web Development w/ Go
Echo - High performance, minimalist Go web framework
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: