Some linter cleanup

This commit is contained in:
Gabe Kangas
2021-10-25 00:31:45 -07:00
parent 3f4176d8d6
commit bdce2e13bf
9 changed files with 48 additions and 14 deletions

View File

@@ -118,7 +118,7 @@ func (c *Client) readPump() {
continue
}
message = bytes.TrimSpace(bytes.Replace(message, newline, space, -1))
message = bytes.TrimSpace(bytes.ReplaceAll(message, newline, space))
c.handleEvent(message)
}
}