(statusCode int)
| 43 | } |
| 44 | |
| 45 | func (w *loggableResponseWriter) WriteHeader(statusCode int) { |
| 46 | w.StatusCode = statusCode |
| 47 | w.next.WriteHeader(statusCode) |
| 48 | } |
| 49 | |
| 50 | func (w *loggableResponseWriter) Flush() { |
| 51 | if flusher, ok := w.next.(http.Flusher); ok { |
nothing calls this directly
no outgoing calls
no test coverage detected