corvus-ch/rabbitmq-cli-consumer

View on GitHub

Showing 3 of 63 total issues

Config has 26 methods (exceeds 20 allowed). Consider refactoring.
Open

type Config struct {
    RabbitMq struct {
        AmqpUrl      string
        Host         string
        Username     string
Severity: Minor
Found in config/config.go - About 3 hrs to fix

    Function NewBuilder has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func NewBuilder(b Builder, cmd string, capture bool, l logr.Logger, infoW, errW io.Writer) (Builder, error) {
    Severity: Minor
    Found in command/builder.go - About 35 mins 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
        Severity
        Category
        Status
        Source
        Language