mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-27 13:38:45 +02:00
unnecessary assignment to the blank identifier.
This commit is contained in:
parent
91fed3c480
commit
f5fcf724f4
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ func (ws *WebSocketHandler) handle(connection *websocket.Conn, id string) {
|
||||||
}
|
}
|
||||||
case <-cancel:
|
case <-cancel:
|
||||||
return
|
return
|
||||||
case _ = <-ticker.C:
|
case <-ticker.C:
|
||||||
if err := connection.WriteMessage(websocket.PingMessage, nil); err != nil {
|
if err := connection.WriteMessage(websocket.PingMessage, nil); err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue