ainsleyclark/stock-informer

View on GitHub
httputil/httputil.go

Summary

Maintainability
A
35 mins
Test Coverage

Function GetAbsoluteURL has 5 return statements (exceeds 4 allowed).
Open

func GetAbsoluteURL(fullURL string, relative string) (string, error) {
    const op = "HTTPUtil.GetAbsoluteURL"
    full, err := url.Parse(fullURL)
    if err != nil {
        return "", errors.NewInvalid(err, "Error parsing full URI", op)
Severity: Major
Found in httputil/httputil.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status