package calls import ( "net/http/httptest" "time" ) // Unit request fixtures use an in-memory transport. Real HTTP deadline and // truncation behavior is exercised separately. type responseRecorder struct{ *httptest.ResponseRecorder } func (responseRecorder) SetWriteDeadline(time.Time) error { return nil }