2
2
mirror of https://github.com/m1k1o/neko.git synced 2024-07-24 14:40:50 +12:00

unnecessary assignment to the blank identifier.

This commit is contained in:
Miroslav Šedivý
2020-10-28 22:09:48 +01:00
parent 91fed3c480
commit f5fcf724f4

@ -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
}