MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / IsValidEmail

Function IsValidEmail

auth/user.go:66–68  ·  view source on GitHub ↗
(email string)

Source from the content-addressed store, hash-verified

64type VBHashFunction func(string) uint32
65
66func IsValidEmail(email string) bool {
67 return kValidEmailRegexp.MatchString(email)
68}
69
70func (auth *Authenticator) defaultGuestUser() User {
71 user := &userImpl{

Callers 4

TestIsValidEmailFunction · 0.85
TestValidateUserEmailFunction · 0.85
validateMethod · 0.85
SetEmailMethod · 0.85

Calls

no outgoing calls

Tested by 2

TestIsValidEmailFunction · 0.68
TestValidateUserEmailFunction · 0.68