Skip to content

Commit 3168614

Browse files
rfyiamcoolAlexVulaj
authored andcommitted
fix: lint example
Signed-off-by: rfyiamcool <[email protected]>
1 parent d08ee1a commit 3168614

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/command/main.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ func pumpStdin(ws *websocket.Conn, w io.Writer) {
5757
}
5858

5959
func pumpStdout(ws *websocket.Conn, r io.Reader, done chan struct{}) {
60-
defer func() {
61-
}()
6260
s := bufio.NewScanner(r)
6361
for s.Scan() {
6462
ws.SetWriteDeadline(time.Now().Add(writeWait))

0 commit comments

Comments
 (0)