package main type MetadataPDF struct { Author string Creator string CreationDate string pdfFormatVersion string } type MessagePDF struct { pdfWordCount int pdfPageTotal int pdfWordByPage int pdfError string pdfMetadata MetadataPDF } type DoctypeXML struct { name string pubid string sysid string } type MessageXML struct { isWellFormed bool wellFormedErrors string doctype DoctypeXML } type Message struct { corpusName string name string startAt string extension string path string mimetype string mimeEncoding string size int64 pdf MessagePDF xml MessageXML }