dictyBase/modware-user

View on GitHub
commands/reply.go

Summary

Maintainability
A
40 mins
Test Coverage

Function replyUser has 6 return statements (exceeds 4 allowed).
Open

func replyUser(subj string, c message.UserClient, req *pubsub.IdRequest) *pubsub.UserReply {
    switch subj {
    case "UserService.Get":
        u, err := c.Get(req.Id)
        if err != nil {
Severity: Major
Found in commands/reply.go - About 40 mins to fix

There are no issues that match your filters.

Category
Status