Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Writing web applications using only the Go Standard Library. Parent comment
These libraries also support middleware wrapping [1], a technique that the default mux supports but doesn't help you with. For example, adding CORS headers or logging the request.
[1] https://justinas.org/writing-http-middleware-in-go/
There are no comments on this comment yet.
These libraries also support middleware wrapping [1], a technique that the default mux supports but doesn't help you with. For example, adding CORS headers or logging the request.
[1] https://justinas.org/writing-http-middleware-in-go/