soumya92/barista

View on GitHub
modules/weather/metar/metar.go

Summary

Maintainability
A
45 mins
Test Coverage
B
86%

Method provider.GetWeather has 7 return statements (exceeds 4 allowed).
Open

func (p *provider) GetWeather() (weather.Weather, error) {
    response, err := http.Get(p.url)
    if err != nil {
        return weather.Weather{}, err
    }
Severity: Major
Found in modules/weather/metar/metar.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status