httputil/httputil.go
Function GetAbsoluteURL
has 5 return statements (exceeds 4 allowed). Open
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)