Skip to content

Commit

Permalink
fix: lint example
Browse files Browse the repository at this point in the history
Signed-off-by: rfyiamcool <[email protected]>
  • Loading branch information
rfyiamcool committed Jan 23, 2024
1 parent d08ee1a commit 53e9c53
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/command/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ func pumpStdin(ws *websocket.Conn, w io.Writer) {
}

func pumpStdout(ws *websocket.Conn, r io.Reader, done chan struct{}) {
defer func() {
}()
s := bufio.NewScanner(r)
for s.Scan() {
ws.SetWriteDeadline(time.Now().Add(writeWait))
Expand Down

0 comments on commit 53e9c53

Please sign in to comment.