Skip to content

Commit 4bd3d40

Browse files
committed
go fmt
1 parent b168c49 commit 4bd3d40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tcp_connection.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ func (this *TcpConnection) writeLoop(ctx context.Context) {
202202
return
203203
}
204204
hasError := false
205-
delaySendDecodePacketData,hasError = this.writePacket(packet)
205+
delaySendDecodePacketData, hasError = this.writePacket(packet)
206206
if hasError {
207207
return
208208
}

tcp_connection_simple.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func createTcpConnectionSimple(config *ConnectionConfig, codec Codec, handler Co
4949
handler: handler,
5050
},
5151
readStopNotifyChan: make(chan struct{}, 1),
52-
sendPacketCache: make(chan Packet, config.SendPacketCacheCap),
52+
sendPacketCache: make(chan Packet, config.SendPacketCacheCap),
5353
}
5454
return newConnection
5555
}

0 commit comments

Comments
 (0)