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

View File

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