Versions in this module Expand all Collapse all v0 v0.1.96 Jan 19, 2021 Changes in this version type PdfInfo + func (pdf *PdfInfo) GetDate() string + func (pdf *PdfInfo) GetLanguage() string + func (pdf *PdfInfo) GetPublisherInfo() string v0.1.95 Dec 16, 2020 v0.1.94 Dec 15, 2020 Changes in this version + const BufferSize + const BufferSize300 + func SetLogger(logrusLogger *logger.Logger) + type InfoObject struct + Author string + CreationDate string + Creator string + ModDate string + Producer string + Title string + type MetaDataRdf struct + Creator string + Date string + Description string + Isbn string + Languages []string + Publishers []string + Title string + type Metadata struct + DL int64 + Length int64 + RawStreamData []byte + RdfMeta *MetaDataRdf + Subtype string + Type string + type ObjectIdentifier struct + GenerationNumber int + KeyWord string + ObjectNumber int + type ObjectSubsection struct + Elements map[int]*ObjectSubsectionElement + FirstSubsectionObjectId int + Id int + LastSubsectionObjectId int + ObjectsCount int + type ObjectSubsectionElement struct + GenerationNumber int + Id int + KeyWord string + ObjectNumber int + type PdfInfo struct + AdditionalTrailerSection []*TrailerSection + Info InfoObject + Metadata Metadata + OriginalTrailerSection TrailerSection + OriginalXrefOffset int64 + PagesCount int + PdfVersion string + Root RootObject + XrefTable []*XrefTable + func ParsePdf(fileName string) (*PdfInfo, error) + func (pdf *PdfInfo) GetAuthor() string + func (pdf *PdfInfo) GetCover(filepath string) bool + func (pdf *PdfInfo) GetCreator() string + func (pdf *PdfInfo) GetDescription() string + func (pdf *PdfInfo) GetISBN() string + func (pdf *PdfInfo) GetLanguages() []string + func (pdf *PdfInfo) GetPagesCount() int + func (pdf *PdfInfo) GetPublishers() []string + func (pdf *PdfInfo) GetTitle() string + type RootObject struct + Lang string + Metadata *ObjectIdentifier + PageLabels *ObjectIdentifier + Pages *ObjectIdentifier + Type string + type TrailerSection struct + IdRaw string + Info ObjectIdentifier + Prev int64 + Root ObjectIdentifier + Size string + type XrefTable struct + ObjectSubsections map[int]*ObjectSubsection + Objects map[int]*ObjectSubsectionElement + SectionStart int64 v0.1.9 Nov 20, 2020