zhutik/adyen-api-go

View on GitHub
adyen.go

Summary

Maintainability
A
40 mins
Test Coverage

Method Adyen.execute has 6 return statements (exceeds 4 allowed).
Open

func (a *Adyen) execute(url string, requestEntity interface{}) (r *Response, err error) {
    body, err := json.Marshal(requestEntity)
    if err != nil {
        return nil, err
    }
Severity: Major
Found in adyen.go - About 40 mins to fix

    Your code does not pass gofmt in 5 places. Go fmt your code!
    Open

    // Package adyen is Adyen API Library for GO
    Severity: Minor
    Found in adyen.go by gofmt

    There are no issues that match your filters.

    Category
    Status