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 interface {
// Export exports Gmail filters into the Gmail xml format.
Export(author cfgv2.Author, filters filter.Filters, w io.Writer) error
}
Exporter exports the given entries to the Gmail xml format.
func DefaultExporter ¶
func DefaultExporter() Exporter
DefaultExporter returns a default implementation of the XMLExporter interface.
Click to show internal directories.
Click to hide internal directories.