roobre/ffxivapi

View on GitHub
lodestone/tcacheRoundTripper.go

Summary

Maintainability
A
45 mins
Test Coverage

Method TCacheRoundTripper.RoundTrip has 7 return statements (exceeds 4 allowed).
Open

func (trt *TCacheRoundTripper) RoundTrip(rq *http.Request) (response *http.Response, err error) {
    if rq.Method != http.MethodGet {
        return trt.roundTrip(rq)
    }

Severity: Major
Found in lodestone/tcacheRoundTripper.go - About 45 mins to fix

    exported type TCacheRoundTripper should have comment or be unexported
    Open

    type TCacheRoundTripper struct {
    Severity: Minor
    Found in lodestone/tcacheRoundTripper.go by golint

    exported method TCacheRoundTripper.RoundTrip should have comment or be unexported
    Open

    func (trt *TCacheRoundTripper) RoundTrip(rq *http.Request) (response *http.Response, err error) {
    Severity: Minor
    Found in lodestone/tcacheRoundTripper.go by golint

    There are no issues that match your filters.

    Category
    Status