(statusCode int)
| 12 | } |
| 13 | |
| 14 | func (w *wrappedWriter) WriteHeader(statusCode int) { |
| 15 | w.ResponseWriter.WriteHeader(statusCode) |
| 16 | w.statusCode = statusCode |
| 17 | } |
| 18 | |
| 19 | func Logging(next http.Handler) http.Handler { |
| 20 | return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { |
no outgoing calls
no test coverage detected