model

package
v0.0.1-v20240505 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const Id = "id"
View Source
const Mime = "mime"

Variables

View Source
var BasicMail = []string{"id", "created", "date", "subject", "from", "to", "cc", "bcc", "size"}

Functions

This section is empty.

Types

type Mail

type Mail struct {
	Id      int64     `gorm:"primaryKey;autoIncrement:false" json:"id"`
	Created time.Time `gorm:"index" json:"created"`
	Date    time.Time `gorm:"index" json:"date"`
	Subject string    `gorm:"text" json:"subject"`
	From    string    `gorm:"text" json:"from"`
	To      string    `gorm:"text" json:"to"`
	Cc      string    `gorm:"text" json:"cc"`
	Bcc     string    `gorm:"text" json:"bcc"`
	Size    int32     `gorm:"index" json:"size"`
	Mime    string    `gorm:"text" json:"mime,omitempty"`
}

Jump to

Keyboard shortcuts

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