evalphobia/aws-sdk-go-v2-wrapper

View on GitHub
sqs/client_xapi_attributes.go

Summary

Maintainability
A
35 mins
Test Coverage

Method SQS.XIsEmptyQueue has 5 return statements (exceeds 4 allowed).
Open

func (svc *SQS) XIsEmptyQueue(ctx context.Context, queueURL string) (bool, error) {
    attrList := []QueueAttributeName{
        QueueAttributeNameApproximateNumberOfMessages,
        QueueAttributeNameApproximateNumberOfMessagesDelayed,
        QueueAttributeNameApproximateNumberOfMessagesNotVisible,
Severity: Major
Found in sqs/client_xapi_attributes.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status