corvus-ch/rabbitmq-cli-consumer

View on GitHub
main.go

Summary

Maintainability
A
35 mins
Test Coverage
F
40%

Function Action has 34 lines of code (exceeds 32 allowed). Consider refactoring.
Wontfix

func Action(c *cli.Context) error {
    cfg, err := LoadConfiguration(c)
    if err != nil {
        return err
    }
Severity: Minor
Found in main.go - About 1 hr to fix

    Function Action has 5 return statements (exceeds 4 allowed).
    Open

    func Action(c *cli.Context) error {
        cfg, err := LoadConfiguration(c)
        if err != nil {
            return err
        }
    Severity: Major
    Found in main.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status