Documentation
¶
Index ¶
Constants ¶
View Source
const ( PropertyFrom = "from" PropertyTo = "to" PropertySubject = "subject" PropertyHas = "hasTheWord" PropertyMarkImportant = "shouldAlwaysMarkAsImportant" PropertyMarkNotImportant = "shouldNeverMarkAsImportant" PropertyApplyLabel = "label" PropertyApplyCategory = "smartLabelToApply" PropertyDelete = "shouldTrash" PropertyArchive = "shouldArchive" PropertyMarkRead = "shouldMarkAsRead" PropertyMarkNotSpam = "shouldNeverSpam" PropertyStar = "shouldStar" PropertyForward = "forwardTo" )
Property values
View Source
const ( SmartLabelPersonal = "personal" SmartLabelGroup = "group" SmartLabelNotification = "notification" SmartLabelPromo = "promo" SmartLabelSocial = "social" )
SmartLabel values
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
Exporter exports the given entries to the Gmail xml format.
func DefaultExporter ¶
func DefaultExporter() Exporter
DefaultExporter returns a default XML exporter.
func NewWithTime ¶
NewWithTime returns a new exporter with the given time function.
Click to show internal directories.
Click to hide internal directories.