net/http/httputilmore/endpoint.go
Function ParseEndpoint
has 6 return statements (exceeds 4 allowed). Open
Open
func ParseEndpoint(s string) (*Endpoint, error) {
parts := strings.Fields(s)
if len(parts) == 0 {
return nil, errors.New("empty string cannot be parsed as RUL")
} else if len(parts) == 1 {