MCPcopy
hub / github.com/revel/revel / ValidURL

Function ValidURL

validators.go:420–422  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

418}
419
420func ValidURL() URL {
421 return URL{Domain: ValidDomain()}
422}
423
424func (u URL) IsSatisfied(obj interface{}) bool {
425 if str, ok := obj.(string); ok {

Callers 1

TestURLFunction · 0.92

Calls 1

ValidDomainFunction · 0.85

Tested by 1

TestURLFunction · 0.74