convert Stream interface to a struct (#5149)

This commit is contained in:
Marten Seemann
2025-06-01 11:40:05 +08:00
committed by GitHub
parent 7ca7a973ef
commit eb656df2fe
25 changed files with 170 additions and 877 deletions

View File

@@ -38,7 +38,7 @@ func TestStreamDeadlines(t *testing.T) {
func TestStreamCompletion(t *testing.T) {
completeReadSide := func(
t *testing.T,
str *stream,
str *Stream,
mockCtrl *gomock.Controller,
mockFC *mocks.MockStreamFlowController,
) {
@@ -57,7 +57,7 @@ func TestStreamCompletion(t *testing.T) {
completeWriteSide := func(
t *testing.T,
str *stream,
str *Stream,
mockCtrl *gomock.Controller,
mockFC *mocks.MockStreamFlowController,
mockSender *MockStreamSender,