Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/revel/revel
/ ValidEmail
Function
ValidEmail
validators.go:244–246 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
242
}
243
244
func
ValidEmail() Email {
245
return
Email{Match{emailPattern}}
246
}
247
248
func
(e Email) DefaultMessage() string {
249
return
fmt.Sprintln(
"Must be a valid email address"
)
Callers
1
TestEmail
Function · 0.92
Calls
no outgoing calls
Tested by
1
TestEmail
Function · 0.74