evalphobia/aws-sdk-go-v2-wrapper

View on GitHub

Showing 41 of 1,082 total issues

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
    Severity
    Category
    Status
    Source
    Language