Versions in this module Expand all Collapse all v2 v2.3.1 May 15, 2023 Changes in this version + type EpubReader struct + func (e EpubReader) Cover(documentFullPath string, coverMaxWidth int) ([]byte, error) + func (e EpubReader) Metadata(file string) (Metadata, error) + type Metadata struct + Authors []string + Cover string + Description template.HTML + ID string + Language string + Pages int + ReadingTime string + Series string + SeriesIndex float64 + Title string + Type string + Words float64 + Year string + type PdfReader struct + func (p PdfReader) Cover(documentFullPath string, coverMaxWidth int) ([]byte, error) + func (p PdfReader) Metadata(file string) (Metadata, error) + type Reader interface + Cover func(bookFullPath string, coverMaxWidth int) ([]byte, error) + Metadata func(file string) (Metadata, error) + type ReaderMock struct + CoverFake func(bookFullPath string) ([]byte, error) + MetadataFake func(file string) (Metadata, error) + func NewReaderMock() ReaderMock + func (e ReaderMock) Cover(bookFullPath string, coverMaxWidth int) ([]byte, error) + func (e ReaderMock) Metadata(file string) (Metadata, error) Other modules containing this package github.com/svera/coreander github.com/svera/coreander/v3