Skip to content
This repository was archived by the owner on Aug 15, 2022. It is now read-only.

Commit 34697fb

Browse files
committed
fix: removed a random println in Client.Connect()
1 parent cf08bfe commit 34697fb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

client/client.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package client
22

33
import (
4-
"fmt"
54
"net"
65
"sync"
76
"tcpio/event"
@@ -41,7 +40,6 @@ func (c *Client) Connect() net.Conn {
4140
for {
4241
err, eventName, message := utils.ReadData(c.connection)
4342
if err != nil {
44-
fmt.Println(err)
4543
break
4644
}
4745
if val, ok := socket.Events[eventName]; ok {

0 commit comments

Comments
 (0)