Showing 1 of 1 total issue
Method client.handleReadMsg
has 5 return statements (exceeds 4 allowed). Open
Open
func (c *client) handleReadMsg(message []byte) {
m := shared.Message{}
if err := json.Unmarshal(message, &m); err != nil {
logrus.Errorln(err)
return