2 ms·
This doesn’t look all that impressive to me. One of the greatest things about the standard library HTTP handlers is that you have an io.Writer that you can do
by Philip-J-Fry 4y ago
This doesn’t look all that impressive to me.
One of the greatest things about the standard library HTTP handlers is that you have an io.Writer that you can do whatever you want with.
It looks like this library removes the flexibility of that and instead provides a worse API to the user.
I feel like they could still have a good module here if the performance gains are independent of the actual handler API.
I don’t want “frameworks”, I want composable modules that I can mix and match. Things should be small and simple.
- abdusco 4y ago> One of the greatest things about the standard library HTTP handlers is that you have an io.Writer that you can do whatever you want with. > It looks like this library removes the flexibility of that and instead provides a worse API to the user. You can get to the stdlib http.ResponseWriter and http.Request with Response() and Request() methods