Skip to content

Commit

Permalink
fix: lint example
Browse files Browse the repository at this point in the history
Signed-off-by: rfyiamcool <rfyiamcool@163.com>
  • Loading branch information
rfyiamcool authored and AlexVulaj committed Feb 14, 2024
1 parent d08ee1a commit 3168614
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 3168614

Please sign in to comment.