alice
Painless middleware chaining for Go (by justinas)
gores
Go package that handles HTML, JSON, XML and etc. responses (by aliuygur)
Our great sponsors
alice | gores | |
---|---|---|
3 | 1 | |
2,976 | 102 | |
- | - | |
0.0 | 0.0 | |
18 days ago | over 3 years ago | |
Go | Go | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
alice
Posts with mentions or reviews of alice.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-01.
-
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:
gores
Posts with mentions or reviews of gores.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-27.
-
GoCondor: Trouble Using HTML templates
Instead I ended up using other go lang pkgs like https://github.com/alioygur/gores or https://github.com/unrolled/render. Render also supports rails style partial, so it helps to better structure HTML templates.
What are some alternatives?
When comparing alice and gores you can also consider the following projects:
negroni - Idiomatic HTTP Middleware for Golang
golax - Golax, a go implementation for the Lax framework.
chi - lightweight, idiomatic and composable router for building Go HTTP services
render - Go package for easily rendering JSON, XML, binary data, and HTML templates responses.
interpose - Minimalist net/http middleware for golang
vestigo - Echo Inspired Stand Alone URL Router
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:
Tideland Go REST Server - RESTful Server Systems [DEPRECATED]