Skip to content

Commit

Permalink
chore: resolve the format issues
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 committed Nov 26, 2021
1 parent a56d2f3 commit fa054af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gnet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,8 @@ func startCodecClient(t *testing.T, network, addr string, multicore, async bool,
start := time.Now()
for time.Since(start) < duration {
// data := []byte("Hello, World")
//data := make([]byte, 1024)
//rand.Read(data)
// data := make([]byte, 1024)
// rand.Read(data)
data := []byte(strings.Repeat("x", 1024))
reqData, _ := codec.Encode(nil, data)
_, err = c.Write(reqData)
Expand Down

0 comments on commit fa054af

Please sign in to comment.