Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachedFile ¶
type Mail ¶
type Mail struct { CreatedAt time.Time `json:"createdAt"` FromAddresses []MailAddress `json:"fromAddresses"` ToAddresses []MailAddress `json:"toAddresses"` CcAddresses []MailAddress `json:"ccAddresses"` BccAddresses []MailAddress `json:"bccAddresses"` Subject string `json:"subject"` MessageID string `json:"messageId"` ContentType string `json:"contentType"` Text string `json:"text"` HTML string `json:"html"` ExtraHeaders map[string][]string `json:"extraHeaders"` AttachedFiles []AttachedFile `json:"attachedFiles"` }
type MailAddress ¶
type Pagination ¶
func NewPagination ¶
func NewPagination[T any](records []T, page int, per int, total int64) (p Pagination[T])
Click to show internal directories.
Click to hide internal directories.