default.go
func IsEmail(str string) bool {
	addr, e := mail.ParseAddress(str)
	return e == nil && addr.Address != ""
}
func IsEmail(str string) bool {
	addr, e := mail.ParseAddress(str)
	return e == nil && addr.Address != ""
}
func IsEmail ( str string ) bool { addr , e := mail . ParseAddress ( str ) return e == nil && addr . Address != " " }
// IsEmail validates an email address.
IsEmail validates an email address .