Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Email ¶
type Email struct {
Raw string // the original, trimmed input
Local string // the part before @
Domain string // the part after @, ASCII/Punycode form (for DNS/SMTP)
DomainUnicode string // the part after @, Unicode form (for display/typo detection)
Valid bool // false if Raw cannot be parsed
}
Email is the internal representation of a parsed email address. The check/ packages receive this as parameter.
Click to show internal directories.
Click to hide internal directories.