Skip to content

Commit 304e227

Browse files
lvan100lianghuan
authored andcommitted
111
1 parent 9feb16c commit 304e227

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README_CN.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,9 @@ func (m *MyManagerServer) GetManager(ctx context.Context, req *proto.ManagerReq)
214214
func (m *MyManagerServer) Stream(ctx context.Context, req *proto.StreamReq, resp chan<- *proto.StreamResp) {
215215
// 流式响应
216216
for i := 0; i < 5; i++ {
217-
resp <- &proto.StreamResp{
218-
Id: strconv.Itoa(i),
219-
Payload: proto.Payload{
217+
resp <- &proto.StreamResp{
218+
Id: strconv.Itoa(i),
219+
Payload: proto.Payload{
220220
TextData: "data",
221221
},
222222
}

0 commit comments

Comments
 (0)