MCPcopy
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
244func ValidEmail() Email {
245 return Email{Match{emailPattern}}
246}
247
248func (e Email) DefaultMessage() string {
249 return fmt.Sprintln("Must be a valid email address")

Callers 1

TestEmailFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestEmailFunction · 0.74