Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
420
func
ValidURL() URL {
421
return
URL{Domain: ValidDomain()}
422
}
423
424
func
(u URL) IsSatisfied(obj
interface
{}) bool {
425
if
str, ok := obj.(string); ok {
Callers
1
TestURL
Function · 0.92
Calls
1
ValidDomain
Function · 0.85
Tested by
1
TestURL
Function · 0.74