gitaskhub

Logging the status code for an HTTP response in Go turns out to be a little tricker than first anticipated. You don't get access to the `Response` object after your handler, rather you only have the `ResponseWriter` which is like a byte stream.

Stars · 1
Language · Go
Ask anything about this repo to start.

By chatting or signing in you agree to the Terms and chat-message logging (revocable in History).