| 414 | var urlPattern = regexp.MustCompile(`^((((https?|ftps?|gopher|telnet|nntp)://)|(mailto:|news:))(%[0-9A-Fa-f]{2}|[-()_.!~*';/?:@#&=+$,A-Za-z0-9\p{L}])+)([).!';/?:,][[:blank:]])?$`) |
| 415 | |
| 416 | type URL struct { |
| 417 | Domain |
| 418 | } |
| 419 | |
| 420 | func ValidURL() URL { |
| 421 | return URL{Domain: ValidDomain()} |
nothing calls this directly
no outgoing calls
no test coverage detected