Documentation ¶ Index ¶ type Email func MustParse(s string) Email func Parse(s string) (e Email, err error) func (e Email) IsValid() bool func (e Email) String() string func (e *Email) UnmarshalJSON(b []byte) error func (e Email) Validate() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Email ¶ type Email string func MustParse ¶ added in v0.1.1 func MustParse(s string) Email func Parse ¶ added in v0.1.1 func Parse(s string) (e Email, err error) func (Email) IsValid ¶ func (e Email) IsValid() bool func (Email) String ¶ func (e Email) String() string func (*Email) UnmarshalJSON ¶ func (e *Email) UnmarshalJSON(b []byte) error func (Email) Validate ¶ func (e Email) Validate() error Source Files ¶ View all Source files email.go Click to show internal directories. Click to hide internal directories.