code: func newResponseRecorder(rw http.ResponseWriter, logger logrus.FieldLogger) responseRecorder {
  	recorder := &responseRecorderWithoutCloseNotify{
  		HeaderMap:      make(http.Header),
  		Body:           new(bytes.Buffer),
  		Code:           http.StatusOK,
  		responseWriter: rw,
  		logger:         logger,
  	}
  	if _, ok := rw.(http.CloseNotifier); ok {
  		return &responseRecorderWithCloseNotify{recorder}
  	}
  	return recorder
  }
docs: // newResponseRecorder returns an initialized responseRecorder.