auth0/internal/validation/validation.go
Function IsURLWithNoFragment
has 5 return statements (exceeds 4 allowed). Open
Open
func IsURLWithNoFragment(i interface{}, k string) (warnings []string, errors []error) {
v, ok := i.(string)
if !ok {
errors = append(errors, fmt.Errorf("expected type of %q to be string", k))