mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-16 18:47:03 +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:
|
||||
return
|
||||
case _ = <-ticker.C:
|
||||
case <-ticker.C:
|
||||
if err := connection.WriteMessage(websocket.PingMessage, nil); err != nil {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue