code: func (r *ResponseData) SwitchWriter(rw http.ResponseWriter) http.ResponseWriter {
  	rwo := r.ResponseWriter
  	r.ResponseWriter = rw
  	return rwo
  }
docs: // SwitchWriter overrides the underlying response writer. It returns the response
  // writer that was previously set.