just1689/entity-sync

View on GitHub
es/esweb/client.go

Summary

Maintainability
A
35 mins
Test Coverage

Method client.handleReadMsg has 5 return statements (exceeds 4 allowed).
Open

func (c *client) handleReadMsg(message []byte) {
    m := shared.Message{}
    if err := json.Unmarshal(message, &m); err != nil {
        logrus.Errorln(err)
        return
Severity: Major
Found in es/esweb/client.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status