MCPcopy
hub / github.com/revel/revel / URL

Struct URL

validators.go:416–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected