Added golangci linting and improved what was required
This commit is contained in:
committed by
ncthompson
parent
206159cdea
commit
2456f45836
@@ -36,7 +36,7 @@ func (h *Hub) Broadcast(message interface{}) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
h.broadcast <- []byte(payload)
|
||||
h.broadcast <- payload
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user