peake100/rogerRabbit-go

View on GitHub
pkg/amqp/connection.go

Summary

Maintainability
A
1 hr
Test Coverage

Function newConnection has 56 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func newConnection(url string, config Config) (*Connection, error) {
    // Extract our config into a streadway.Config
    streadwayConfig := streadway.Config{
        SASL:            config.SASL,
        Vhost:           config.Vhost,
Severity: Minor
Found in pkg/amqp/connection.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status