email

package
v2.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 6 Imported by: 1

Documentation

Overview

Package email provides simple Email type.

Author Mikalai Konan(mikalai.konan@icloud.com).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Email

type Email string

Email represents a email type

func (Email) String

func (email Email) String() string

String implementation of Stringer interface

func (*Email) UnmarshalJSON

func (email *Email) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshall implementation for Email

func (Email) Validate

func (email Email) Validate() error

Validate implementation of ozzo-validation Validate interface

func (Email) Value

func (email Email) Value() (value driver.Value, err error)

Value implementation of driver.Valuer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL